summaryrefslogtreecommitdiff
path: root/lang/ocaml/buildlink3.mk
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2019-05-14 15:34:16 +0000
committerjaapb <jaapb@pkgsrc.org>2019-05-14 15:34:16 +0000
commitf58ba7b5c74891981d480a3299e16c545debc2c7 (patch)
treefaf76e0c22ecc0a2ec5dac0a1d1ea23999adbfc2 /lang/ocaml/buildlink3.mk
parentd89d806cd2383e8c9f5bc6516e0eed48a923c93c (diff)
downloadpkgsrc-f58ba7b5c74891981d480a3299e16c545debc2c7.tar.gz
Updated lang/ocaml for non-opt architectures. Revbump
Diffstat (limited to 'lang/ocaml/buildlink3.mk')
-rw-r--r--lang/ocaml/buildlink3.mk12
1 files changed, 8 insertions, 4 deletions
diff --git a/lang/ocaml/buildlink3.mk b/lang/ocaml/buildlink3.mk
index 9f1c504055f..aaf36e870e0 100644
--- a/lang/ocaml/buildlink3.mk
+++ b/lang/ocaml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.49 2019/01/07 18:52:23 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.50 2019/05/14 15:34:16 jaapb Exp $
BUILDLINK_TREE+= ocaml
@@ -6,15 +6,19 @@ BUILDLINK_TREE+= ocaml
OCAML_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.ocaml+= ocaml>=4.07.0
-BUILDLINK_ABI_DEPENDS.ocaml+= ocaml>=4.07.1nb1
+BUILDLINK_ABI_DEPENDS.ocaml+= ocaml>=4.07.1nb2
BUILDLINK_PKGSRCDIR.ocaml?= ../../lang/ocaml
#BUILDLINK_DEPMETHOD.ocaml?= build
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.ocaml}/lib/ocaml
+.include "../../mk/ocaml.mk"
+
BUILDLINK_TARGETS+= ocaml-wrappers
-OCAML_WRAPPERS= ocamlc ocamlc.opt ocamlcp ocamlmklib ocamlmktop \
- ocamlopt ocamlopt.opt
+OCAML_WRAPPERS= ocamlc ocamlcp ocamlmklib ocamlmktop
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
+OCAML_WRAPPERS+= ocamlc.opt ocamlopt ocamlopt.opt
+.endif
OCAMLBIN_WRAPPERS= ocaml ocamldep ocamllex ocamlyacc
.PHONY: ocaml-wrappers