summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorminskim <minskim>2004-02-14 17:56:42 +0000
committerminskim <minskim>2004-02-14 17:56:42 +0000
commit78f5befff2efc99e0e7810dd5903203391886ed0 (patch)
treefb03882f2b39c44ad262887e225bb13a8ce17f2f /net
parenta74557c8240a5063ea1af4b282eb831df84eebdd (diff)
downloadpkgsrc-78f5befff2efc99e0e7810dd5903203391886ed0.tar.gz
Add buildlink3.mk.
Diffstat (limited to 'net')
-rw-r--r--net/gnet/buildlink3.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/net/gnet/buildlink3.mk b/net/gnet/buildlink3.mk
new file mode 100644
index 00000000000..4bafcaacc16
--- /dev/null
+++ b/net/gnet/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/14 17:56:42 minskim Exp $
+#
+# This Makefile fragment is included by packages that use gnet.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GNET_BUILDLINK3_MK:= ${GNET_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= gnet
+.endif
+
+.if !empty(GNET_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= gnet
+BUILDLINK_DEPENDS.gnet+= gnet>=2.0.3nb1
+BUILDLINK_PKGSRCDIR.gnet?= ../../net/gnet
+
+.include "../../devel/glib2/buildlink3.mk"
+
+.endif # GNET_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}