ppisar pushed to perl-Compress-LZ4 (master). "Add Compress-LZ4-0.22-Build-against-system-lz4.patch patch"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Sep 9 14:47:23 UTC 2015


From 1ca764e7ea1400e866a1dff612589f378049c614 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 9 Sep 2015 16:46:52 +0200
Subject: Add Compress-LZ4-0.22-Build-against-system-lz4.patch patch


diff --git a/Compress-LZ4-0.22-Build-against-system-lz4.patch b/Compress-LZ4-0.22-Build-against-system-lz4.patch
new file mode 100644
index 0000000..88b73e5
--- /dev/null
+++ b/Compress-LZ4-0.22-Build-against-system-lz4.patch
@@ -0,0 +1,40 @@
+From 9e36ac1856e67d12f36b7640d446355ec69f3cd9 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Wed, 9 Sep 2015 16:26:42 +0200
+Subject: [PATCH] Build against system lz4
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ Makefile.PL | 6 +-----
+ 1 file changed, 1 insertion(+), 5 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index d2ee0a0..8ba4107 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -19,8 +19,7 @@ my %conf = (
+         },
+     },
+ 
+-    MYEXTLIB => 'src/lz4$(LIB_EXT)',
+-    INC      => '-Isrc',
++    LIBS     => '-llz4',
+ 
+     dist   => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
+     clean  => { FILES    => 'Compress-LZ4-*' },
+@@ -40,9 +39,6 @@ WriteMakefile(%conf);
+ 
+ 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
+-- 
+2.4.3
+
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Compress-LZ4.git/commit/?h=master&id=1ca764e7ea1400e866a1dff612589f378049c614


More information about the perl-devel mailing list