summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2019-07-15 09:36:26 +0000
committerjaapb <jaapb@pkgsrc.org>2019-07-15 09:36:26 +0000
commitf14f7ee58d272c964076c2b0ec41795cb42c4a80 (patch)
treeedd7c1f095a713d00b32114ac3ac1813f60d54a5 /mk
parentbadc55c66e8fccc85ddad4c26ad228b3a9231912 (diff)
downloadpkgsrc-f14f7ee58d272c964076c2b0ec41795cb42c4a80.tar.gz
Changes to mk/ocaml.mk, commentary and bugfix
Install bytecode files unstripped.
Diffstat (limited to 'mk')
-rw-r--r--mk/ocaml.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/ocaml.mk b/mk/ocaml.mk
index 4fb7ebe13db..e287042a352 100644
--- a/mk/ocaml.mk
+++ b/mk/ocaml.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ocaml.mk,v 1.24 2019/05/14 15:35:19 jaapb Exp $
+# $NetBSD: ocaml.mk,v 1.25 2019/07/15 09:36:26 jaapb Exp $
#
# This Makefile fragment handles the common variables used by OCaml packages.
#
@@ -23,7 +23,7 @@
# OCAML_USE_OASIS_DYNRUN [implies OCAML_USE_OASIS]
# package uses oasis.dynrun
# OCAML_USE_OPAM
-# package uses OPAM installer
+# package uses OPAM installer [implies OCAML_USE_FINDLIB]
# OCAML_USE_TOPKG
# package uses topkg [implies OCAML_USE_FINDLIB]
# OCAML_USE_JBUILDER
@@ -194,6 +194,9 @@ PLIST_VARS+= ocaml-opt
# The opt compiler needs the C compiler suite
USE_LANGUAGES+= c
PLIST.ocaml-opt= yes
+.else
+# If we're bytecode compiling, don't strip executables
+INSTALL_UNSTRIPPED= yes
.endif
#