[Pkg-dspam-commits] [SCM] Debian packages for the DSPAM anti-spam filter branch, master, updated. debian/3.9.1_rc1+git20110514.347379b+dfsg-1-3-g2920acf

Thomas Preud'homme thomas.preudhomme at celest.fr
Thu Jun 16 14:11:13 UTC 2011


The following commit has been merged in the master branch:
commit 2920acfeb22e180bb410370ce04115b172f76526
Author: Thomas Preud'homme <thomas.preudhomme at celest.fr>
Date:   Thu Jun 16 16:07:49 2011 +0200

    Actually export CPPFLAGS and CFLAGS in rules
    
    * Export CPPFLAGS and CFLAGS in debian/rules
    * Make CPPFLAGS, CFLAGS and LDFLAGS simply extended variables
      (use of := instead of =)

diff --git a/debian/rules b/debian/rules
index 6c0c7c6..d11012e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+export DH_VERBOSE=1
 
 STORAGE = "mysql_drv,pgsql_drv,sqlite3_drv,hash_drv"
 
@@ -34,11 +34,11 @@ ifeq (,$(findstring disable_clamav,$(DEB_BUILD_OPTIONS)))
         CONFIGURE += --enable-clamav
 endif
 
-CPPFLAGS=$(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+export CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+export CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
 
 # Without any effect for now due to http://bugs.debian.org/347650
-LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
 export LDFLAGS
 

-- 
Debian packages for the DSPAM anti-spam filter



More information about the Pkg-dspam-commits mailing list