summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrecht <recht>2004-02-03 10:49:53 +0000
committerrecht <recht>2004-02-03 10:49:53 +0000
commit07a5d81c9066d2c864c041215469283f91299bb5 (patch)
tree2c4e41f4a33f4e01a81f4f422891bb04e920157c
parentdc4af8f5c707262e35e32aa39c20aafefd5f94fe (diff)
downloadpkgsrc-07a5d81c9066d2c864c041215469283f91299bb5.tar.gz
Add buildlink3.mk. (needed to bl3ify lang/mono)
ok'ed by xtraeme@
-rw-r--r--devel/glib2/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/glib2/buildlink3.mk b/devel/glib2/buildlink3.mk
new file mode 100644
index 00000000000..8f48408b6bd
--- /dev/null
+++ b/devel/glib2/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/03 10:49:53 recht Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+GLIB2_BUILDLINK3_MK:= ${GLIB2_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= glib2
+.endif
+
+.if !empty(GLIB2_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= glib2
+BUILDLINK_DEPENDS.glib2?= glib2>=2.2.3nb1
+BUILDLINK_PKGSRCDIR.glib2?= ../../devel/glib2
+
+.include "../../converters/libiconv/buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+
+.endif # GLIB2_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}