path: root/debhelper.pod
diff options
authorJoey Hess <>2011-08-06 18:58:55 -0400
committerJoey Hess <>2011-08-06 18:59:43 -0400
commitcf88cb54bfc44e8a48eacc3bd6e852d7413780f7 (patch)
treebddad8228594bd46cc870dc4596ac60a4976f75c /debhelper.pod
parent3d2a36e2957745d9be7d8ce978eaf3ac2edd29d2 (diff)
dpkg-buildflags is only used to set environment in v9
To avoid re-breaking packages that were already broken a first time by dpkg-buildpackage unconditionally setting the environment, and unbroke it by unsetting variables in the rules file. (Example: numpy)
Diffstat (limited to 'debhelper.pod')
1 files changed, 6 insertions, 4 deletions
diff --git a/debhelper.pod b/debhelper.pod
index 9000d69..34a16a3 100644
--- a/debhelper.pod
+++ b/debhelper.pod
@@ -191,10 +191,6 @@ in ALL packages acted on, not just the first.
-All of the B<dh_auto_>I<*> debhelper programs set environment variables
-listed by B<dpkg-buildflags>, unless they are already set. They
-support DEB_BUILD_OPTIONS=noopt too.
The following command line options are supported by all of the B<dh_auto_>I<*>
debhelper programs. These programs support a variety of build systems,
and normally heuristically determine which to use, and how to use them.
@@ -489,6 +485,12 @@ in --libexecdir when using autoconf.
B<dh> does not default to enabling --with=python-support
+=item -
+All of the B<dh_auto_>I<*> debhelper programs and B<dh> set
+environment variables listed by B<dpkg-buildflags>, unless
+they are already set. They support DEB_BUILD_OPTIONS=noopt too.