[libdbd-mysql-perl] 01/01: use `dpkg-architecture -qDEB_HOST_MULTIARCH' to find mariadb lib

gregor herrmann gregoa at debian.org
Sun Dec 22 18:42:54 UTC 2013


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

gregoa pushed a commit to branch mariadb
in repository libdbd-mysql-perl.

commit 0c98debfe93d45efba607a83d9e3c94e02eca8b6
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Dec 22 19:41:45 2013 +0100

    use `dpkg-architecture -qDEB_HOST_MULTIARCH' to find mariadb lib
    
    Git-Dch: Ignore
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 275639b..76ceed2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 PACKAGE = $(shell dh_listpackages)
 TMP     = $(CURDIR)/debian/$(PACKAGE)
 PROB_FILE = mysql.mtest
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 %:
 	dh $@ --with perl_dbi
@@ -10,7 +11,7 @@ PROB_FILE = mysql.mtest
 override_dh_auto_configure:
 	! [ -e t/$(PROB_FILE) ] || mv t/$(PROB_FILE) debian/$(PROB_FILE).save
 	dh_auto_configure -- --ssl --testuser=test \
-	                     --libs="-L/usr/lib/i386-linux-gnu -lmariadbclient"
+	                     --libs="-L/usr/lib/$(DEB_HOST_MULTIARCH) -lmariadbclient"
 
 override_dh_auto_test:
 	dh_auto_test -- TEST_FILES='t/00base.t'

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdbd-mysql-perl.git



More information about the Pkg-perl-cvs-commits mailing list