[Python-modules-commits] r24636 - in packages/python-gd/trunk/debian (rules)

julian at users.alioth.debian.org julian at users.alioth.debian.org
Mon Jun 3 03:58:56 UTC 2013


    Date: Monday, June 3, 2013 @ 03:58:54
  Author: julian
Revision: 24636

Remove CFLAGS and LDFLAGS from rules to use debhelper 9

Modified:
  packages/python-gd/trunk/debian/rules

Modified: packages/python-gd/trunk/debian/rules
===================================================================
--- packages/python-gd/trunk/debian/rules	2013-06-03 03:58:21 UTC (rev 24635)
+++ packages/python-gd/trunk/debian/rules	2013-06-03 03:58:54 UTC (rev 24636)
@@ -2,8 +2,6 @@
 #export DH_VERBOSE=1
 
 PYVERS := $(shell pyversions -r)
-CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
-LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
 PKG_VERSION := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^+]+).*,\1,p')
 
 get-packaged-orig-source:
@@ -33,7 +31,6 @@
 override_dh_auto_install:
 	set -e; \
 	for PYTHON in $(PYVERS); do \
-		CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
 		$$PYTHON ./Setup.py install --root=debian/python-gd --install-layout=deb; \
 		$$PYTHON-dbg ./Setup.py install --root=debian/python-gd-dbg --install-layout=deb; \
 	done




More information about the Python-modules-commits mailing list