ports/archivers/p5-Compress-LZO/files/patch-Makefile.PL
Sunpoet Po-Chuan Hsieh a40fe8b0ee - Fix library linking
- Bump PORTREVISION for package change

Submitted by:	sunpoet (myself)
Approved by:	clsung (maintainer, via IRC)
Feature safe:	yes
2011-12-06 01:14:11 +00:00

20 lines
608 B
Raku

--- Makefile.PL.orig 1998-08-23 18:14:41.000000000 +0800
+++ Makefile.PL 2011-12-06 09:11:59.832206442 +0800
@@ -14,6 +14,8 @@
# installed.
#$LZO_LIB = '-L/usr/local/lib';
+$LZO_INCLUDE = '-I%%LOCALBASE%%/include';
+$LZO_LIB = '-L%%LOCALBASE%%/lib';
# It shouldn't be necessary to change anything from here on.
@@ -21,7 +23,7 @@
WriteMakefile(
NAME => 'Compress::LZO',
VERSION_FROM => 'LZO.pm',
- LIBS => [ "$LZO_LIB -llzo" ],
+ LIBS => [ "$LZO_LIB -llzo2" ],
INC => "$LZO_INCLUDE",
'dist' => {COMPRESS=>'gzip', SUFFIX=>'gz'},
);