diff options
author | Joey Hess <joey@kitenet.net> | 2011-06-14 16:17:09 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-06-14 16:17:09 -0400 |
commit | c64ed6af2930e40666aa3069d4e40a7dcd1bc1dd (patch) | |
tree | fe5ae4872f164c86381ccc154a6dd4d5e06e3b47 /Debian/Debhelper/Buildsystem/autoconf.pm | |
parent | 6aca0eba03b03e3c898b132f5a6d005118ed6d4c (diff) | |
parent | cbe68c8579e8abc03aeff939306b2d34cb1fe8ac (diff) |
Merge branch 'master' into smarter-targets
Conflicts:
debhelper.pod
debian/changelog
Diffstat (limited to 'Debian/Debhelper/Buildsystem/autoconf.pm')
-rw-r--r-- | Debian/Debhelper/Buildsystem/autoconf.pm | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Debian/Debhelper/Buildsystem/autoconf.pm b/Debian/Debhelper/Buildsystem/autoconf.pm index c211d8d..20b9fd4 100644 --- a/Debian/Debhelper/Buildsystem/autoconf.pm +++ b/Debian/Debhelper/Buildsystem/autoconf.pm @@ -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/" . sourcepackage(); + 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(); |