summaryrefslogtreecommitdiff
path: root/lang/ocaml/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocaml/buildlink3.mk')
-rw-r--r--lang/ocaml/buildlink3.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/ocaml/buildlink3.mk b/lang/ocaml/buildlink3.mk
index e95aaf52b15..719588f6623 100644
--- a/lang/ocaml/buildlink3.mk
+++ b/lang/ocaml/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.35 2016/01/16 10:32:53 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.36 2016/02/29 13:51:27 jperkin Exp $
BUILDLINK_TREE+= ocaml
@@ -25,6 +25,7 @@ ocaml-wrappers:
-e 's|@OCAML_PREFIX@|${BUILDLINK_PREFIX.ocaml}|g' \
-e 's|@CFLAGS@|'${CFLAGS:Q}'|g' \
-e 's|@LDFLAGS@|'${LDFLAGS:Q}'|g' \
+ -e 's|@WRAPPEE@|'$$w'|g' \
< ${.CURDIR}/../../lang/ocaml/files/wrapper.sh \
> ${BUILDLINK_DIR}/bin/"$$w"; \
${CHMOD} +x ${BUILDLINK_DIR}/bin/"$$w"; \