]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_auto_configure: In v9, does not include the source package name in --libexecdir...
authorJoey Hess <joey@kitenet.net>
Tue, 14 Jun 2011 20:14:56 +0000 (16:14 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 14 Jun 2011 20:14:56 +0000 (16:14 -0400)
Fixed rleigh's patch to be more correct in the edge case where there is
a non-multiarch dpkg (ie, backports).

Debian/Debhelper/Buildsystem/autoconf.pm
debhelper.pod
debian/changelog

index 1fbc80dea466f86f4de3e76c576226a0c1ef663a..20b9fd444160b003844e5d8aa19467138201bebc 100644 (file)
@@ -38,9 +38,14 @@ sub configure {
        push @opts, "--sysconfdir=/etc";
        push @opts, "--localstatedir=/var";
        my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH");
-       if (! compat(8) && defined $multiarch) {
-               push @opts, "--libdir=\${prefix}/lib/$multiarch";
-               push @opts, "--libexecdir=\${prefix}/lib/$multiarch";
+       if (! compat(8)) {
+              if (defined $multiarch) {
+                       push @opts, "--libdir=\${prefix}/lib/$multiarch";
+                       push @opts, "--libexecdir=\${prefix}/lib/$multiarch";
+               }
+               else {
+                       push @opts, "--libexecdir=\${prefix}/lib";
+               }
        }
        else {
                push @opts, "--libexecdir=\${prefix}/lib/" . sourcepackage();
index 9939ea13842964467786f7c360dd76cc541d09a7..d61cc84da057334d4982c9a40c4cfc5e1f762679 100644 (file)
@@ -550,6 +550,11 @@ while B<dh_makeshlibs> detects packages containing multiarch
 directories and sets a Pre-Dependency on multiarch-support in
 ${misc:Pre-Depends}
 
+=item -
+
+B<dh_auto_configure> does not include the source package name
+in --libexecdir when using autoconf.
+
 =back
 
 =back
index 8404462db93eb092ed17da25747f0056de8c93cc..35692dadac02f86f0f71527b5b2fc3f8eebdc49d 100644 (file)
@@ -3,6 +3,8 @@ debhelper (8.1.7) UNRELEASED; urgency=low
   * Fix example. Closes: #627534
   * Fix error message. Closes: #628053
   * dh_movefiles: Optimise use of xargs. Closes: #627737
+  * dh_auto_configure: In v9, does not include the source package name
+    in --libexecdir when using autoconf. Closes: #541458
 
  -- Joey Hess <joeyh@debian.org>  Sat, 21 May 2011 15:24:19 -0400