summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-04-05 11:23:09 +0200
committerJulian Andres Klode <jak@debian.org>2011-04-05 11:23:09 +0200
commit21c9ebb9717ed7b157c697a57d1b6ce3225eb9d6 (patch)
tree7367caddb455b63273644ba2bd93b9b8b09b5044 /debian/rules
parent9dd02cdd42eccb8c4e52f08c334df22a31c8d256 (diff)
downloadpython-apt-21c9ebb9717ed7b157c697a57d1b6ce3225eb9d6.tar.gz
Disable the old-style API, and break all packages using it
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 5428375d..0b60bf9f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,8 @@
#!/usr/bin/make -f
# Should be include-links, but that somehow fails.
export DEBVER=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p')
-export CFLAGS=-Wno-write-strings -DCOMPAT_0_7
+# For compatibility, add -DCOMPAT_0_7
+export CFLAGS=-Wno-write-strings
export PATH :=$(CURDIR)/utils:$(PATH)
export SHELL = env PATH=$(PATH) sh