3 Record the path to the zlib library in the executable/library.
4 COMPILER_RPATH_FLAG is specific to pkgsrc.
6 --- Makefile.PL.orig 2009-03-28 23:08:40.000000000 +0000
7 +++ Makefile.PL 2009-04-11 21:34:32.000000000 +0000
11 ? zlib_files($ZLIB_LIB)
12 - : (LIBS => [ "-L$ZLIB_LIB -lz " ])
13 + : (LIBS => [ "-L$ZLIB_LIB $ENV{'COMPILER_RPATH_FLAG'}$ZLIB_LIB -lz " ])
16 INSTALLDIRS => ($] >= 5.009 ? 'perl' : 'site'),