summaryrefslogtreecommitdiff
path: root/devel/pcre-ocaml
diff options
context:
space:
mode:
authorwiz <wiz>2006-08-11 15:47:30 +0000
committerwiz <wiz>2006-08-11 15:47:30 +0000
commit3f17bdd998d00a186088d0fd0299ed48f8e76f30 (patch)
treef213389fb3a1744d88a09d16fa0573e4285e04ca /devel/pcre-ocaml
parent1b18ff28d334b6b6975c33eb20d330a31c95cfad (diff)
downloadpkgsrc-3f17bdd998d00a186088d0fd0299ed48f8e76f30.tar.gz
Add buildlink3.mk file.
Diffstat (limited to 'devel/pcre-ocaml')
-rw-r--r--devel/pcre-ocaml/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/pcre-ocaml/buildlink3.mk b/devel/pcre-ocaml/buildlink3.mk
new file mode 100644
index 00000000000..b2ffa267d65
--- /dev/null
+++ b/devel/pcre-ocaml/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2006/08/11 15:47:30 wiz Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PCRE_OCAML_BUILDLINK3_MK:= ${PCRE_OCAML_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= pcre-ocaml
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npcre-ocaml}
+BUILDLINK_PACKAGES+= pcre-ocaml
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pcre-ocaml
+
+.if ${PCRE_OCAML_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.pcre-ocaml+= pcre-ocaml>=5.10.3nb1
+BUILDLINK_PKGSRCDIR.pcre-ocaml?= ../../devel/pcre-ocaml
+.endif # PCRE_OCAML_BUILDLINK3_MK
+
+.include "../../devel/pcre/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}