]> source.dussan.org Git - rspamd.git/commitdiff
Changed from PACKAGE_DEPENDS to CPACK_DEBIAN_PACKAGE_DEPENDS
authorJuliano Martinez <juliano@falaserio.org>
Tue, 15 Mar 2011 02:11:01 +0000 (23:11 -0300)
committerJuliano Martinez <juliano@falaserio.org>
Tue, 15 Mar 2011 02:11:01 +0000 (23:11 -0300)
linux/cmake/DpkgDeb.cmake

index ed9115681621297bd994c81c63156dc0c07a4ccb..300ff0bf1e4986bac837464251c75097f9e61de2 100644 (file)
@@ -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}