summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorsnj <snj@pkgsrc.org>2004-04-25 06:10:09 +0000
committersnj <snj@pkgsrc.org>2004-04-25 06:10:09 +0000
commit4ab36bc41955d7df1503ccc6da320e9b041ee8a1 (patch)
tree95096330be816e95fbc28d7a82b65904318dbda4 /devel
parent752a2146ce0d9f8879322edc619eedffa9798bed (diff)
downloadpkgsrc-4ab36bc41955d7df1503ccc6da320e9b041ee8a1.tar.gz
Convert to buildlink3.
Diffstat (limited to 'devel')
-rw-r--r--devel/libole2/Makefile6
-rw-r--r--devel/libole2/buildlink3.mk20
-rw-r--r--devel/opencm/Makefile14
3 files changed, 30 insertions, 10 deletions
diff --git a/devel/libole2/Makefile b/devel/libole2/Makefile
index 4864591a822..1d7bc98f529 100644
--- a/devel/libole2/Makefile
+++ b/devel/libole2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/02/14 17:21:38 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2004/04/25 06:10:09 snj Exp $
#
DISTNAME= libole2-0.2.4
@@ -12,7 +12,7 @@ COMMENT= OLE2 streams parsing library for GNOME
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
-.include "../../devel/glib/buildlink2.mk"
+.include "../../devel/glib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libole2/buildlink3.mk b/devel/libole2/buildlink3.mk
new file mode 100644
index 00000000000..909fb898c9f
--- /dev/null
+++ b/devel/libole2/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 06:10:09 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBOLE2_BUILDLINK3_MK:= ${LIBOLE2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libole2
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibole2}
+BUILDLINK_PACKAGES+= libole2
+
+.if !empty(LIBOLE2_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libole2+= libole2>=0.2.4nb1
+BUILDLINK_PKGSRCDIR.libole2?= ../../devel/libole2
+.endif # LIBOLE2_BUILDLINK3_MK
+
+.include "../../devel/glib/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/devel/opencm/Makefile b/devel/opencm/Makefile
index 9634e1883d4..bfdd61d1804 100644
--- a/devel/opencm/Makefile
+++ b/devel/opencm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2004/04/05 21:52:45 reed Exp $
+# $NetBSD: Makefile,v 1.27 2004/04/25 06:12:16 snj Exp $
#
DISTNAME= ${OPENCM_VERSION}-1-src
@@ -13,7 +13,7 @@ HOMEPAGE= http://www.opencm.org/
COMMENT= Secure, high-integrity replacement for CVS
WRKSRC= ${WRKDIR}/${OPENCM_VERSION}/base
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
USE_GNU_TOOLS+= make
GNU_CONFIGURE= YES
@@ -30,10 +30,10 @@ INFO_FILES= opencm.info
CPPFLAGS+= -D__unix__
MAKE_ENV+= GZIP_CMD=${GZIP_CMD:Q}
-.include "../../devel/boehm-gc/buildlink2.mk"
-.include "../../devel/ncurses/buildlink2.mk"
-.include "../../devel/readline/buildlink2.mk"
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
+.include "../../devel/boehm-gc/buildlink3.mk"
+.include "../../devel/ncurses/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"