pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bind9 Convert to buildlink3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f699068138e
branches:  trunk
changeset: 472964:0f699068138e
user:      snj <snj%pkgsrc.org@localhost>
date:      Wed Apr 14 20:26:51 2004 +0000

description:
Convert to buildlink3.

diffstat:

 net/bind9/Makefile      |   8 ++++----
 net/bind9/buildlink3.mk |  21 +++++++++++++++++++++
 2 files changed, 25 insertions(+), 4 deletions(-)

diffs (54 lines):

diff -r 2e25cce72630 -r 0f699068138e net/bind9/Makefile
--- a/net/bind9/Makefile        Wed Apr 14 20:23:41 2004 +0000
+++ b/net/bind9/Makefile        Wed Apr 14 20:26:51 2004 +0000
@@ -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 @@
 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 @@
        ${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 -r 2e25cce72630 -r 0f699068138e net/bind9/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bind9/buildlink3.mk   Wed Apr 14 20:26:51 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index