diff options
author | Juliano Martinez <juliano@falaserio.org> | 2011-03-14 23:11:01 -0300 |
---|---|---|
committer | Juliano Martinez <juliano@falaserio.org> | 2011-03-14 23:11:01 -0300 |
commit | 38eb1d7b25241896dff83251adc00b101e19b643 (patch) | |
tree | 85f12077970dc2c2a635fc4f9961605b1a4942c5 | |
parent | e3d23ad99b864405141077dbbbf8749f59872b23 (diff) | |
download | rspamd-38eb1d7b25241896dff83251adc00b101e19b643.tar.gz rspamd-38eb1d7b25241896dff83251adc00b101e19b643.zip |
Changed from PACKAGE_DEPENDS to CPACK_DEBIAN_PACKAGE_DEPENDS
-rw-r--r-- | linux/cmake/DpkgDeb.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/linux/cmake/DpkgDeb.cmake b/linux/cmake/DpkgDeb.cmake index ed9115681..300ff0bf1 100644 --- a/linux/cmake/DpkgDeb.cmake +++ b/linux/cmake/DpkgDeb.cmake @@ -19,7 +19,7 @@ # # -- OPTIONAL Variables # Architecture: ${DEBIAN_ARCHITECTURE}, by default i386 for intel on debian like -# Depends: ${PACKAGE_DEPENDS} +# Depends: ${CPACK_DEBIAN_PACKAGE_DEPENDS} # Section: ${PACKAGE_SECTION} # Priority: ${PACKAGE_PRIORITY} # Essential: ${PACKAGE_ESSENTIAL} @@ -88,12 +88,12 @@ MACRO(ADD_DEBIAN_PACKAGE DEBNAME) ARGS -E echo "Architecture: ${DEBIAN_ARCHITECTURE}" >> ${CONTROL_FILE} ) - IF ( DEFINED PACKAGE_DEPENDS ) + IF ( DEFINED CPACK_DEBIAN_PACKAGE_DEPENDS ) ADD_CUSTOM_COMMAND( OUTPUT ${CONTROL_FILE} COMMAND ${CMAKE_COMMAND} -E echo - "Depends: ${PACKAGE_DEPENDS}" >> ${CONTROL_FILE} + "Depends: ${CPACK_DEBIAN_PACKAGE_DEPENDS}" >> ${CONTROL_FILE} APPEND ) - ENDIF ( DEFINED PACKAGE_DEPENDS ) + ENDIF ( DEFINED CPACK_DEBIAN_PACKAGE_DEPENDS ) IF ( DEFINED PACKAGE_SECTION ) ADD_CUSTOM_COMMAND( OUTPUT ${CONTROL_FILE} |