- Fix liblzo detection
- Bump PKGNAME ok sturm@
This commit is contained in:
parent
f9eafe571b
commit
35f7c3fc7d
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.18 2004/08/03 11:30:02 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.19 2005/07/16 16:27:25 alek Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= "interface to lzo compression library"
|
||||
|
||||
DISTNAME= perl-lzo-1.08
|
||||
PKGNAME= p5-Compress-LZO-1.08
|
||||
PKGNAME= p5-Compress-LZO-1.08p0
|
||||
CATEGORIES= archivers perl5
|
||||
MASTER_SITES= http://www.oberhumer.com/opensource/lzo/download/
|
||||
|
||||
@ -25,4 +25,7 @@ CONFIGURE_STYLE= perl
|
||||
|
||||
WRKDIST= ${WRKDIR}/Compress-LZO-1.08
|
||||
|
||||
pre-configure:
|
||||
@perl -pi -e "s,!!LOCALBASE!!,${LOCALBASE},g" ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-Makefile_PL,v 1.2 2004/09/22 14:17:22 danh Exp $
|
||||
$OpenBSD: patch-Makefile_PL,v 1.3 2005/07/16 16:27:25 alek Exp $
|
||||
--- Makefile.PL.orig Sun Aug 23 12:14:41 1998
|
||||
+++ Makefile.PL Sun Aug 29 09:52:03 2004
|
||||
@@ -6,14 +6,14 @@ use Config;
|
||||
@ -6,7 +6,7 @@ $OpenBSD: patch-Makefile_PL,v 1.2 2004/09/22 14:17:22 danh Exp $
|
||||
|
||||
#$LZO_INCLUDE = '-I/usr/include/lzo';
|
||||
-#$LZO_INCLUDE = '-I/usr/local/include';
|
||||
+$LZO_INCLUDE = '-I$(LOCALBASE)/include';
|
||||
+$LZO_INCLUDE = '-I!!LOCALBASE!!/include';
|
||||
#$LZO_INCLUDE = '-I/usr/local/include/lzo';
|
||||
|
||||
# If liblzo is not installed in some place obvious, uncomment the next
|
||||
@ -14,7 +14,7 @@ $OpenBSD: patch-Makefile_PL,v 1.2 2004/09/22 14:17:22 danh Exp $
|
||||
# installed.
|
||||
|
||||
-#$LZO_LIB = '-L/usr/local/lib';
|
||||
+$LZO_LIB = '-L$(LOCALBASE)/lib';
|
||||
+$LZO_LIB = '-L!!LOCALBASE!!/lib';
|
||||
|
||||
|
||||
# It shouldn't be necessary to change anything from here on.
|
||||
|
Loading…
Reference in New Issue
Block a user