summaryrefslogtreecommitdiff
path: root/devel/libnet/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libnet/buildlink3.mk')
-rw-r--r--devel/libnet/buildlink3.mk18
1 files changed, 18 insertions, 0 deletions
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/+$//}