From 9aea4df0465fdfce9e16258f5056aa23ebb1c332 Mon Sep 17 00:00:00 2001 From: snj Date: Wed, 14 Apr 2004 20:26:51 +0000 Subject: Convert to buildlink3. --- net/bind9/Makefile | 8 ++++---- net/bind9/buildlink3.mk | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 net/bind9/buildlink3.mk (limited to 'net/bind9') diff --git a/net/bind9/Makefile b/net/bind9/Makefile index 7ce042e104f..6bc60126bf5 100644 --- a/net/bind9/Makefile +++ b/net/bind9/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.57 2004/04/06 14:54:17 manu Exp $ +# $NetBSD: Makefile,v 1.58 2004/04/14 20:26:51 snj Exp $ # DISTNAME= bind-${BIND_VERSION} @@ -19,7 +19,7 @@ DIST_SUBDIR= bind/${BIND_VERSION} BUILD_DEFS+= USE_INET6 # No need to set USE_INET6, will auto-detect. -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes USE_LIBTOOL= yes GNU_CONFIGURE= yes @@ -68,8 +68,8 @@ post-install: ${INSTALL_SCRIPT} ${WRKDIR}/named ${PREFIX}/etc/rc.d/named9 ${INSTALL_SCRIPT} ${WRKDIR}/lwresd ${PREFIX}/etc/rc.d/lwresd -.include "../../mk/pthread.buildlink2.mk" -.include "../../security/openssl/buildlink2.mk" +.include "../../mk/pthread.buildlink3.mk" +.include "../../security/openssl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") diff --git a/net/bind9/buildlink3.mk b/net/bind9/buildlink3.mk new file mode 100644 index 00000000000..b6cca6e7fe8 --- /dev/null +++ b/net/bind9/buildlink3.mk @@ -0,0 +1,21 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/14 20:26:51 snj Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +BIND_BUILDLINK3_MK:= ${BIND_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= bind +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbind} +BUILDLINK_PACKAGES+= bind + +.if !empty(BIND_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.bind+= bind>=9.2.2 +BUILDLINK_RECOMMENDED.bind?= bind>=9.2.3nb2 +BUILDLINK_PKGSRCDIR.bind?= ../../net/bind9 +.endif # BIND_BUILDLINK3_MK + +.include "../../security/openssl/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3