summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/gnet1/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/gnet1/buildlink3.mk b/net/gnet1/buildlink3.mk
new file mode 100644
index 00000000000..c089d491d6e
--- /dev/null
+++ b/net/gnet1/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/27 03:29:46 minskim Exp $
+#
+# This Makefile fragment is included by packages that use gnet1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GNET1_BUILDLINK3_MK:= ${GNET1_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gnet1
+.endif
+
+.if !empty(GNET1_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= gnet1
+BUILDLINK_DEPENDS.gnet1+= gnet1>=1.1.8nb2
+BUILDLINK_PKGSRCDIR.gnet1?= ../../net/gnet1
+
+.include "../../devel/glib2/buildlink3.mk"
+
+.endif # GNET1_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}