summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-27 03:29:46 +0000
committerminskim <minskim@pkgsrc.org>2004-02-27 03:29:46 +0000
commitb5bd0841053f695f61cc81bd63550693f0fb6d15 (patch)
tree1d0659912ee3894bdfce813136fcac4da88ec7e3 /net
parent53cfd1f12b5209027d59fd2ecaa7892b86e5bf78 (diff)
downloadpkgsrc-b5bd0841053f695f61cc81bd63550693f0fb6d15.tar.gz
Add buildlink3.mk.
Diffstat (limited to 'net')
-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/+$//}