summaryrefslogtreecommitdiff
path: root/devel/p5-Compress-Zlib/patches/patch-aa
blob: 8395b7db3b8509daa915b54a6a007fbec84dc057 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.3 2005/05/30 21:09:44 jschauma Exp $

--- Makefile.PL.orig	Wed Jan 14 22:26:52 2004
+++ Makefile.PL
@@ -76,7 +76,7 @@ WriteMakefile(	
 			    },
 	($BUILD_ZLIB
           ? zlib_files($ZLIB_LIB)
-	  : (LIBS	=> [ "-L$ZLIB_LIB -lz " ])
+	  : (LIBS	=> [ "-L$ZLIB_LIB $ENV{'COMPILER_RPATH_FLAG'}$ZLIB_LIB -lz " ])
 	),  
 	($] >= 5.005
 	    ? (ABSTRACT_FROM	=> 'Zlib.pm',