summaryrefslogtreecommitdiff
path: root/net/spread
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-01-24 21:24:09 +0000
committerrecht <recht@pkgsrc.org>2004-01-24 21:24:09 +0000
commit1222305c310d7c4a0bb37b7dd185c4ec3fe47d56 (patch)
tree54af72e13bb30ad3a994788f56c1bc1c33db9af1 /net/spread
parent96464cad070464044816de3459a7df1dacd64bac (diff)
downloadpkgsrc-1222305c310d7c4a0bb37b7dd185c4ec3fe47d56.tar.gz
bl3ify and add a buildlink3.mk
Diffstat (limited to 'net/spread')
-rw-r--r--net/spread/Makefile6
-rw-r--r--net/spread/buildlink3.mk18
2 files changed, 21 insertions, 3 deletions
diff --git a/net/spread/Makefile b/net/spread/Makefile
index 5e1399ca3bd..5d6c1f7935f 100644
--- a/net/spread/Makefile
+++ b/net/spread/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2004/01/20 12:22:22 agc Exp $
+# $NetBSD: Makefile,v 1.14 2004/01/24 21:24:09 recht Exp $
#
DISTNAME= spread-src-3.17.1
@@ -13,7 +13,7 @@ COMMENT= Group communication system providing a number of messaging services
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_PERL5= build
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --includedir=${PREFIX}/include/spread
@@ -52,5 +52,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}/LICENSE
${INSTALL_DATA} ${WRKSRC}/Short_Buffer_Handling.txt ${DOCSDIR}/Short_Buffer_Handling.txt
-.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/spread/buildlink3.mk b/net/spread/buildlink3.mk
new file mode 100644
index 00000000000..91d2d8f5184
--- /dev/null
+++ b/net/spread/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/01/24 21:24:09 recht Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+SPREAD_BUILDLINK3_MK:= ${SPREAD_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= spread
+.endif
+
+.if !empty(SPREAD_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= spread
+BUILDLINK_DEPENDS.spread?= spread>=3.17.1nb1
+BUILDLINK_PKGSRCDIR.spread?= ../../net/spread
+
+.endif # SPREAD_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}