summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-rw-r--r--devel/libnet/Makefile4
-rw-r--r--devel/libnet/buildlink3.mk18
2 files changed, 20 insertions, 2 deletions
diff --git a/devel/libnet/Makefile b/devel/libnet/Makefile
index a3aed2316be..bee2516ac52 100644
--- a/devel/libnet/Makefile
+++ b/devel/libnet/Makefile
@@ -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 @@ HOMEPAGE= http://www.packetfactory.net/libnet/
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 --git a/devel/libnet/buildlink3.mk b/devel/libnet/buildlink3.mk
new file mode 100644
index 00000000000..8ca0e11aa5d
--- /dev/null
+++ b/devel/libnet/buildlink3.mk
@@ -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/+$//}