[libwx-perl] 01/03: Use $Config{vendorarch} in debian/rules instead of /usr/lib/perl5.

gregor herrmann gregoa at debian.org
Mon Aug 11 14:18:01 UTC 2014


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

gregoa pushed a commit to branch master
in repository libwx-perl.

commit 170552f32a7d2dd17c9c4323eb877abcb1eaa0db
Author: gregor herrmann <gregoa at debian.org>
Date:   Mon Aug 11 16:01:31 2014 +0200

    Use $Config{vendorarch} in debian/rules instead of /usr/lib/perl5.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 820844b..38d2d64 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@ TMP     =$(CURDIR)/debian/$(PACKAGE)
 
 DEBIAN_TARGETS := clean binary binary-arch binary-indep build build-arch build-indep
 
+ARCHLIB := $(shell perl -MConfig -e 'print $$Config{vendorarch}')
+
 $(DEBIAN_TARGETS):
 	dh $@ --parallel
 
@@ -15,7 +17,7 @@ override_dh_auto_install:
 	dh_auto_install
 
 	# fix permissions
-	find $(TMP)/usr/lib/perl5/Wx -type f -perm /755 -print0 | xargs -r0 chmod -v 664
+	find $(TMP)/$(ARCHLIB)/Wx -type f -perm /755 -print0 | xargs -r0 chmod -v 664
 
 	# remove bogus man page
 	rm -vf "$(TMP)/usr/share/man/man3/Wx::build::MakeMaker::Win32_MSVC.3pm"

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



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