diff options
Diffstat (limited to 'lang/ocaml/buildlink3.mk')
-rw-r--r-- | lang/ocaml/buildlink3.mk | 12 |
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 |