summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2004-04-27 21:00:14 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2004-04-27 21:00:14 +0000
commit893a48701a04df8376751808b7c6a0b5607dbdff (patch)
tree239c44f12cba5bca4020ded5dd3f9f840289fd9a
parent9c7f7fb94b18d4442411d038ca96de3bb90359e7 (diff)
downloadpkgsrc-893a48701a04df8376751808b7c6a0b5607dbdff.tar.gz
add bl3 file. this pkg installs a library
-rw-r--r--devel/flex/buildlink3.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/flex/buildlink3.mk b/devel/flex/buildlink3.mk
new file mode 100644
index 00000000000..12eac561bb8
--- /dev/null
+++ b/devel/flex/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/04/27 21:00:14 dmcmahill Exp $
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FLEX_BUILDLINK3_MK:= ${FLEX_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= flex
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nflex}
+BUILDLINK_PACKAGES+= flex
+
+.if !empty(FLEX_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.flex+= flex>=2.5.4a
+BUILDLINK_PKGSRCDIR.flex?= ../../devel/flex
+BUILDLINK_DEPMETHOD.flex?= build
+.endif # FLEX_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}