pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Changes to mk/ocaml.mk, commentary and bugfix



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9489979a6daf
branches:  trunk
changeset: 398268:9489979a6daf
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Mon Jul 15 09:36:26 2019 +0000

description:
Changes to mk/ocaml.mk, commentary and bugfix

Install bytecode files unstripped.

diffstat:

 mk/ocaml.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 94a8720dc7e9 -r 9489979a6daf mk/ocaml.mk
--- a/mk/ocaml.mk       Mon Jul 15 07:07:44 2019 +0000
+++ b/mk/ocaml.mk       Mon Jul 15 09:36:26 2019 +0000
@@ -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 @@
 # 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
 
 #



Home | Main Index | Thread Index | Old Index