[Pkg-ocaml-maint-commits] [SCM] dh-ocaml packaging branch, master, updated. debian/0.4.1-14-g226d72c

Eric Cooper ecc at cmu.edu
Sat Mar 7 18:23:21 UTC 2009


The following commit has been merged in the master branch:
commit 226d72c09f8e9f4e000f526bbcac15f2a4035c50
Author: Eric Cooper <ecc at cmu.edu>
Date:   Sat Mar 7 13:19:38 2009 -0500

    add BYTE: prefix to complement OPT: prefix in ocamlinit.mk

diff --git a/share/ocamlinit.mk b/share/ocamlinit.mk
index 9233fc6..5db3412 100644
--- a/share/ocamlinit.mk
+++ b/share/ocamlinit.mk
@@ -41,9 +41,9 @@ OCAMLINIT_SED := \
   -e 's%@OCamlStdlibDir@%$(OCAML_STDLIB_DIR)%g' \
   -e 's%@OCamlDllDir@%$(OCAML_DLL_DIR)%g'
 ifeq ($(OCAML_HAVE_OCAMLOPT),yes)
-  OCAMLINIT_SED += -e 's/^OPT: //'
+  OCAMLINIT_SED += -e 's/^OPT: //' -e '/^BYTE: /d'
 else
-  OCAMLINIT_SED += -e '/^OPT: /d'
+  OCAMLINIT_SED += -e '/^OPT: /d' -e 's/^BYTE: //'
 endif
 
 ocamlinit: ocamlinit-stamp

-- 
dh-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list