[libcompress-lz4-perl] 04/09: use system LZ4
gregor herrmann
gregoa at debian.org
Sat Nov 18 23:46:41 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libcompress-lz4-perl.
commit b0e4df4720aa17c597b786a18064bbc1f86caa8c
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Nov 19 00:31:41 2017 +0100
use system LZ4
---
debian/control | 1 +
debian/patches/series | 1 +
debian/patches/use-system-lz4.patch | 28 ++++++++++++++++++++++++++++
3 files changed, 30 insertions(+)
diff --git a/debian/control b/debian/control
index 419bbe2..18033e1 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: gregor herrmann <gregoa at debian.org>
Build-Depends: debhelper (>= 9),
+ liblz4-dev,
perl
Standards-Version: 4.1.1
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libcompress-lz4-perl.git
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..22c8201
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-system-lz4.patch
diff --git a/debian/patches/use-system-lz4.patch b/debian/patches/use-system-lz4.patch
new file mode 100644
index 0000000..ef8c95c
--- /dev/null
+++ b/debian/patches/use-system-lz4.patch
@@ -0,0 +1,28 @@
+Description: build against the system LZ4
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2017-11-19
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -19,8 +19,7 @@
+ },
+ },
+
+- MYEXTLIB => 'src/lz4$(LIB_EXT)',
+- INC => '-Isrc',
++ LIBS => ['-llz4'],
+
+ dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+ clean => { FILES => 'Compress-LZ4-*' },
+@@ -40,9 +39,6 @@
+
+ sub MY::postamble {
+ return <<" MAKE_FRAG";
+-\$(MYEXTLIB): src/Makefile
+-\tcd src && \$(MAKE) \$(PASSTHRU)
+-
+ authortest:
+ \t\$(MAKE) -e \$(TEST_TYPE) TEST_FILES="xt/*.t"
+ MAKE_FRAG
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcompress-lz4-perl.git
More information about the Pkg-perl-cvs-commits
mailing list