update Tue Jun 22 06:37:08 PDT 2010
[pkgsrc.git] / devel / p5-Compress-Raw-Zlib / patches / patch-aa
1 $NetBSD: patch-aa,v 1.3 2009/04/11 22:35:29 sno Exp $
2
3   Record the path to the zlib library in the executable/library.
4   COMPILER_RPATH_FLAG is specific to pkgsrc.
5
6 --- Makefile.PL.orig    2009-03-28 23:08:40.000000000 +0000
7 +++ Makefile.PL 2009-04-11 21:34:32.000000000 +0000
8 @@ -79,7 +79,7 @@
9      (
10        $BUILD_ZLIB
11          ? zlib_files($ZLIB_LIB)
12 -        : (LIBS => [ "-L$ZLIB_LIB -lz " ])
13 +        : (LIBS => [ "-L$ZLIB_LIB $ENV{'COMPILER_RPATH_FLAG'}$ZLIB_LIB -lz " ])
14      ),
15        
16      INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'),