summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-02-09 20:25:09 +0000
committerjlam <jlam@pkgsrc.org>2004-02-09 20:25:09 +0000
commit52cda80f7d628ad64437ff03ea084d9f0b5cd8ff (patch)
treeb2d3485885779de0f645a7dd91a5b5cbd14ef34a /archivers
parente1f34b4652fc6ebca786cad23a3e5ca0d889142a (diff)
downloadpkgsrc-52cda80f7d628ad64437ff03ea084d9f0b5cd8ff.tar.gz
bl3ify
Diffstat (limited to 'archivers')
-rw-r--r--archivers/liblzo/Makefile4
-rw-r--r--archivers/liblzo/buildlink3.mk16
2 files changed, 18 insertions, 2 deletions
diff --git a/archivers/liblzo/Makefile b/archivers/liblzo/Makefile
index 216e5f400b0..8464dd7bae6 100644
--- a/archivers/liblzo/Makefile
+++ b/archivers/liblzo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/07/17 21:21:25 grant Exp $
+# $NetBSD: Makefile,v 1.14 2004/02/09 20:25:09 jlam Exp $
#
DISTNAME= lzo-1.08
@@ -11,7 +11,7 @@ MAINTAINER= rh@NetBSD.org
HOMEPAGE= http://www.oberhumer.com/opensource/lzo/
COMMENT= Portable lossless data compression library written in ANSI C
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
diff --git a/archivers/liblzo/buildlink3.mk b/archivers/liblzo/buildlink3.mk
new file mode 100644
index 00000000000..84b176c246f
--- /dev/null
+++ b/archivers/liblzo/buildlink3.mk
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/09 20:25:09 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBLZO_BUILDLINK3_MK:= ${LIBLZO_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= liblzo
+.endif
+
+.if !empty(LIBLZO_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= liblzo
+BUILDLINK_DEPENDS.liblzo?= liblzo>=1.08
+BUILDLINK_PKGSRCDIR.liblzo?= ../../archivers/liblzo
+.endif # LIBLZO_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}