summaryrefslogtreecommitdiff
path: root/devel/rx/buildlink3.mk
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-22 16:48:11 +0000
committerminskim <minskim@pkgsrc.org>2004-02-22 16:48:11 +0000
commitae152d91d5261e39017683780f7d23929cbdeb66 (patch)
tree29fbe6955a21c2ecc2935217f160a289873603b8 /devel/rx/buildlink3.mk
parent2004a3975a71ed1c18a7f1f8ac95855328b8e25a (diff)
downloadpkgsrc-ae152d91d5261e39017683780f7d23929cbdeb66.tar.gz
bl3ify
Diffstat (limited to 'devel/rx/buildlink3.mk')
-rw-r--r--devel/rx/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/rx/buildlink3.mk b/devel/rx/buildlink3.mk
new file mode 100644
index 00000000000..b7da5268914
--- /dev/null
+++ b/devel/rx/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/22 16:48:11 minskim Exp $
+#
+# This Makefile fragment is included by packages that use rx.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+RX_BUILDLINK3_MK:= ${RX_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= rx
+.endif
+
+.if !empty(RX_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= rx
+BUILDLINK_DEPENDS.rx+= rx>=1.5
+BUILDLINK_PKGSRCDIR.rx?= ../../devel/rx
+
+.endif # RX_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}