summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim>2004-02-27 03:29:46 +0000
committerminskim <minskim>2004-02-27 03:29:46 +0000
commit1069d942b9ad9f7da74cf3ea29fe8b73e0aaa3fb (patch)
tree1d0659912ee3894bdfce813136fcac4da88ec7e3
parent8ba91b1d94dc7ab10c503e42eef14ed7d5aa77fd (diff)
downloadpkgsrc-1069d942b9ad9f7da74cf3ea29fe8b73e0aaa3fb.tar.gz
Add buildlink3.mk.
-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/+$//}