summaryrefslogtreecommitdiff
path: root/security/ocaml-ssl
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-22 10:06:24 +0000
committerrillig <rillig@pkgsrc.org>2007-03-22 10:06:24 +0000
commit8b01483b7057d4d7d4e8c091654280944a8497f2 (patch)
treea7ed87d2d2c1e880c1550666a37b6a16740e90c0 /security/ocaml-ssl
parent5a039eadda344542fffc0c9eb7b228cc1352b0c2 (diff)
downloadpkgsrc-8b01483b7057d4d7d4e8c091654280944a8497f2.tar.gz
Added the buildlink3.mk file, which was requested in PR 36057.
Diffstat (limited to 'security/ocaml-ssl')
-rw-r--r--security/ocaml-ssl/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/ocaml-ssl/buildlink3.mk b/security/ocaml-ssl/buildlink3.mk
new file mode 100644
index 00000000000..7ba9bb0c9e1
--- /dev/null
+++ b/security/ocaml-ssl/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2007/03/22 10:06:24 rillig Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+OCAML_SSL_BUILDLINK3_MK:= ${OCAML_SSL_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= ocaml-ssl
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nocaml-ssl}
+BUILDLINK_PACKAGES+= ocaml-ssl
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}ocaml-ssl
+
+.if ${OCAML_SSL_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.ocaml-ssl+= ocaml-ssl>=0.4.0
+BUILDLINK_PKGSRCDIR.ocaml-ssl?= ../../security/ocaml-ssl
+.endif # OCAML_SSL_BUILDLINK3_MK
+
+.include "../../security/openssl/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}