pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Convert to buildlink3.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0b6b08adaf8b
branches: trunk
changeset: 474000:0b6b08adaf8b
user: snj <snj%pkgsrc.org@localhost>
date: Sun Apr 25 04:13:14 2004 +0000
description:
Convert to buildlink3.
diffstat:
devel/libnet/Makefile | 4 ++--
devel/libnet/buildlink3.mk | 18 ++++++++++++++++++
net/LaBrea/Makefile | 6 +++---
net/tcptraceroute/Makefile | 8 ++++----
4 files changed, 27 insertions(+), 9 deletions(-)
diffs (93 lines):
diff -r d357d6cec7e5 -r 0b6b08adaf8b devel/libnet/Makefile
--- a/devel/libnet/Makefile Sun Apr 25 04:11:59 2004 +0000
+++ b/devel/libnet/Makefile Sun Apr 25 04:13:14 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/01/20 12:13:28 agc Exp $
+# $NetBSD: Makefile,v 1.17 2004/04/25 04:13:14 snj Exp $
#
DISTNAME= libnet-1.0.1b
@@ -11,7 +11,7 @@
COMMENT= C library for portable packet creation and injection
WRKSRC= ${WRKDIR}/${DISTNAME:C/l/L/}
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= yes
USE_LIBTOOL= # defined
GNU_CONFIGURE= # defined
diff -r d357d6cec7e5 -r 0b6b08adaf8b devel/libnet/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libnet/buildlink3.mk Sun Apr 25 04:13:14 2004 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/25 04:13:14 snj Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBNET_BUILDLINK3_MK:= ${LIBNET_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libnet
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibnet}
+BUILDLINK_PACKAGES+= libnet
+
+.if !empty(LIBNET_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libnet+= libnet>=1.0.1bnb3
+BUILDLINK_PKGSRCDIR.libnet?= ../../devel/libnet
+.endif # LIBNET_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r d357d6cec7e5 -r 0b6b08adaf8b net/LaBrea/Makefile
--- a/net/LaBrea/Makefile Sun Apr 25 04:11:59 2004 +0000
+++ b/net/LaBrea/Makefile Sun Apr 25 04:13:14 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2004/01/20 12:22:18 agc Exp $
+# $NetBSD: Makefile,v 1.11 2004/04/25 04:14:01 snj Exp $
#
DISTNAME= LaBrea2_3
@@ -12,7 +12,7 @@
COMMENT= Builds tarpits/honeypots for scanners
WRKSRC= ${WRKDIR}/LaBrea
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
post-extract:
cd ${WRKSRC}; \
@@ -23,5 +23,5 @@
${INSTALL_PROGRAM} ${WRKSRC}/LaBrea ${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/LaBrea.README ${PREFIX}/share/doc/LaBrea
-.include "../../devel/libnet/buildlink2.mk"
+.include "../../devel/libnet/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r d357d6cec7e5 -r 0b6b08adaf8b net/tcptraceroute/Makefile
--- a/net/tcptraceroute/Makefile Sun Apr 25 04:11:59 2004 +0000
+++ b/net/tcptraceroute/Makefile Sun Apr 25 04:13:14 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/12/28 06:33:26 kim Exp $
+# $NetBSD: Makefile,v 1.3 2004/04/25 04:13:20 snj Exp $
#
DISTNAME= tcptraceroute-1.4
@@ -9,7 +9,7 @@
HOMEPAGE= http://michael.toren.net/code/tcptraceroute/
COMMENT= Traceroute implementation using TCP packets
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
ALL_TARGET= tcptraceroute
@@ -24,7 +24,7 @@
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/examples.txt ${DOCDIR}
-.include "../../devel/libnet/buildlink2.mk"
-.include "../../net/libpcap/buildlink2.mk"
+.include "../../devel/libnet/buildlink3.mk"
+.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index