diff options
author | snj <snj@pkgsrc.org> | 2004-04-14 20:26:51 +0000 |
---|---|---|
committer | snj <snj@pkgsrc.org> | 2004-04-14 20:26:51 +0000 |
commit | 9aea4df0465fdfce9e16258f5056aa23ebb1c332 (patch) | |
tree | cb55f5fd52cb18c78eaf2731c17d8940831924eb /net/bind9 | |
parent | cef14f643937960bf854c924e23ead27bcde9e98 (diff) | |
download | pkgsrc-9aea4df0465fdfce9e16258f5056aa23ebb1c332.tar.gz |
Convert to buildlink3.
Diffstat (limited to 'net/bind9')
-rw-r--r-- | net/bind9/Makefile | 8 | ||||
-rw-r--r-- | net/bind9/buildlink3.mk | 21 |
2 files changed, 25 insertions, 4 deletions
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/+$//} |