summaryrefslogtreecommitdiff
path: root/security/ocaml-ssl/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'security/ocaml-ssl/buildlink3.mk')
-rw-r--r--security/ocaml-ssl/buildlink3.mk19
1 files changed, 6 insertions, 13 deletions
diff --git a/security/ocaml-ssl/buildlink3.mk b/security/ocaml-ssl/buildlink3.mk
index cb5f32a4cff..7e0c6f9685b 100644
--- a/security/ocaml-ssl/buildlink3.mk
+++ b/security/ocaml-ssl/buildlink3.mk
@@ -1,22 +1,15 @@
-# $NetBSD: buildlink3.mk,v 1.2 2008/01/18 05:09:39 tnn Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:25:20 joerg Exp $
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
-OCAML_SSL_BUILDLINK3_MK:= ${OCAML_SSL_BUILDLINK3_MK}+
+BUILDLINK_TREE+= ocaml-ssl
-.if ${BUILDLINK_DEPTH} == "+"
-BUILDLINK_DEPENDS+= ocaml-ssl
-.endif
+.if !defined(OCAML_SSL_BUILDLINK3_MK)
+OCAML_SSL_BUILDLINK3_MK:=
-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_ABI_DEPENDS.ocaml-ssl?= ocaml-ssl>=0.4.1nb1
BUILDLINK_PKGSRCDIR.ocaml-ssl?= ../../security/ocaml-ssl
-.endif # OCAML_SSL_BUILDLINK3_MK
.include "../../security/openssl/buildlink3.mk"
+.endif # OCAML_SSL_BUILDLINK3_MK
-BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
+BUILDLINK_TREE+= -ocaml-ssl