pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/spread bl3ify and add a buildlink3.mk



details:   https://anonhg.NetBSD.org/pkgsrc/rev/959bd378c684
branches:  trunk
changeset: 466954:959bd378c684
user:      recht <recht%pkgsrc.org@localhost>
date:      Sat Jan 24 21:24:09 2004 +0000

description:
bl3ify and add a buildlink3.mk

diffstat:

 net/spread/Makefile      |   6 +++---
 net/spread/buildlink3.mk |  18 ++++++++++++++++++
 2 files changed, 21 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r aa759641f034 -r 959bd378c684 net/spread/Makefile
--- a/net/spread/Makefile       Sat Jan 24 20:55:42 2004 +0000
+++ b/net/spread/Makefile       Sat Jan 24 21:24:09 2004 +0000
@@ -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 @@
 
 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 @@
        ${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 -r aa759641f034 -r 959bd378c684 net/spread/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/spread/buildlink3.mk  Sat Jan 24 21:24:09 2004 +0000
@@ -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/+$//}



Home | Main Index | Thread Index | Old Index