[libb-lint-perl] 02/05: Resurrect patch lib-vs-share.patch to install into /usr/share.

gregor herrmann gregoa at debian.org
Fri Oct 2 14:05:31 UTC 2015


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

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

commit 03a49ac4a1b6ca1fede63a4bd1bc6539d9dd0a31
Author: gregor herrmann <gregoa at debian.org>
Date:   Fri Oct 2 15:58:44 2015 +0200

    Resurrect patch lib-vs-share.patch to install into /usr/share.
    
    In 1.20 upstream went back to installing into /usr/lib/.
---
 debian/patches/lib-vs-share.patch | 18 ++++++++++++++++++
 debian/patches/series             |  1 +
 2 files changed, 19 insertions(+)

diff --git a/debian/patches/lib-vs-share.patch b/debian/patches/lib-vs-share.patch
new file mode 100644
index 0000000..aaa2640
--- /dev/null
+++ b/debian/patches/lib-vs-share.patch
@@ -0,0 +1,18 @@
+Description: install to /usr/share instead of /usr/lib, like perl-module does
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2015-10-02
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -15,7 +15,7 @@
+     # B::Lint is a dual-life module. Must install over core for pre-5.12 perls.
+     INSTALLDIRS => $] < 5.012 ? 'perl' : 'site',
+     PM          => {
+-        'lib/B/Lint.pm'       => '$(INST_ARCHLIB)/B/Lint.pm',
+-        'lib/B/Lint/Debug.pm' => '$(INST_ARCHLIB)/B/Lint/Debug.pm',
++        'lib/B/Lint.pm'       => '$(INST_LIB)/B/Lint.pm',
++        'lib/B/Lint/Debug.pm' => '$(INST_LIB)/B/Lint/Debug.pm',
+     },
+ );
diff --git a/debian/patches/series b/debian/patches/series
index 8e34f01..01a6280 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 Skip-a-bare-sub-test.patch
+lib-vs-share.patch

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



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