summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/liblzo/Makefile4
-rw-r--r--archivers/liblzo/buildlink3.mk16
-rw-r--r--security/libgpg-error/Makefile6
-rw-r--r--security/libgpg-error/buildlink3.mk18
4 files changed, 39 insertions, 5 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/+$//}
diff --git a/security/libgpg-error/Makefile b/security/libgpg-error/Makefile
index 5756c1ada40..79b44dcef47 100644
--- a/security/libgpg-error/Makefile
+++ b/security/libgpg-error/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/12/14 14:57:40 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2004/02/09 20:28:16 jlam Exp $
#
DISTNAME= libgpg-error-0.6
@@ -10,13 +10,13 @@ MAINTAINER= minskim@bawi.org
HOMEPAGE= http://www.gnupg.org/
COMMENT= Definitions of common error values for all GnuPG components
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
USE_PKGLOCALEDIR= YES
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
-.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/libgpg-error/buildlink3.mk b/security/libgpg-error/buildlink3.mk
new file mode 100644
index 00000000000..faafa2f1430
--- /dev/null
+++ b/security/libgpg-error/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/09 20:28:16 jlam Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBGPG_ERROR_BUILDLINK3_MK:= ${LIBGPG_ERROR_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libgpg-error
+.endif
+
+.if !empty(LIBGPG_ERROR_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libgpg-error
+BUILDLINK_DEPENDS.libgpg-error?= libgpg-error>=0.6
+BUILDLINK_PKGSRCDIR.libgpg-error?= ../../security/libgpg-error
+
+. include "../../devel/gettext-lib/buildlink3.mk"
+.endif # LIBGPG_ERROR_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}