[debhelper-devel] [debhelper] 01/01: Don't bother dealing with libdir/libexecdir for older compat versions

Michael Biebl biebl at moszumanska.debian.org
Fri Mar 24 05:56:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

biebl pushed a commit to branch biebl/meson
in repository debhelper.

commit 6bb3c2d1760f43929622a8cc3e8f9969bff44c65
Author: Michael Biebl <biebl at debian.org>
Date:   Fri Mar 24 06:54:39 2017 +0100

    Don't bother dealing with libdir/libexecdir for older compat versions
    
    Since meson is new, we don't really have to care for backwards
    compatibility.
---
 Debian/Debhelper/Buildsystem/meson.pm | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/Debian/Debhelper/Buildsystem/meson.pm b/Debian/Debhelper/Buildsystem/meson.pm
index 90c0fcd..da0148b 100644
--- a/Debian/Debhelper/Buildsystem/meson.pm
+++ b/Debian/Debhelper/Buildsystem/meson.pm
@@ -42,18 +42,8 @@ sub configure {
 	push @opts, "--sysconfdir=/etc";
 	push @opts, "--localstatedir=/var";
 	my $multiarch=dpkg_architecture_value("DEB_HOST_MULTIARCH");
-	if (! compat(8)) {
-	       if (defined $multiarch) {
-			push @opts, "--libdir=lib/$multiarch";
-			push @opts, "--libexecdir=lib/$multiarch";
-		}
-		else {
-			push @opts, "--libexecdir=lib";
-		}
-	}
-	else {
-		push @opts, "--libexecdir=lib/" . sourcepackage();
-	}
+	push @opts, "--libdir=lib/$multiarch";
+	push @opts, "--libexecdir=lib/$multiarch";
 
 	$this->mkdir_builddir();
 	eval {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list