pkgsrc/devel/p5-Compress-Raw-Bzip2/patches/patch-Makefile.PL
obache b6b3157d27 Update p5-Compress-Raw-Bzip2 to 2.033.
pkgsrc fixes
* Let to use system bzip2 library instead of included one,
  same as p5-Compress-Raw-Zlib.

CHANGES
-------

  2.033 11 Jan 2011
      * Fixed typos & spelling errors.
        [perl# 81782]

  2.032 4 Jan 2011

      * No Changes

  2.031 21 September 2010

      * Updated to use bzip2 1.0.6
        Version 1.0.6 removes a potential security vulnerability,
        CVE-2010-0405, so all users are recommended to upgrade immediately.
2011-04-16 04:27:37 +00:00

16 lines
503 B
Perl

$NetBSD: patch-Makefile.PL,v 1.1 2011/04/16 04:27:37 obache Exp $
Record the path to the bzip2 library in the executable/library.
COMPILER_RPATH_FLAG is specific to pkgsrc.
--- Makefile.PL.orig 2009-03-28 23:08:45.000000000 +0000
+++ Makefile.PL
@@ -37,7 +37,7 @@ WriteMakefile(
(
$BUILD_BZIP2
? bzip2_files($BZIP2_LIB)
- : (LIBS => [ "-L$BZIP2_LIB -lbz2 " ])
+ : (LIBS => [ "-L$BZIP2_LIB $ENV{'COMPILER_RPATH_FLAG'}$BZIP2_LIB -lbz2 " ])
),
(