The following commit has been merged in the experimental/master branch:
commit e680625f99b971f8c73fde27d24a8a9a54a7092d
Author: Stephane Glondu <st...@glondu.net>
Date:   Fri Apr 20 07:59:42 2012 +0200

    Remove files that make no sense without ocamlopt
    
    Their presence combined with dh_install --fail-missing cause FTBFS on
    bytecode architectures...

diff --git a/debian/rules b/debian/rules
index 234885b..db89c5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -214,6 +214,13 @@ ifeq (,$(DEB_TEST_BUILD_PREFIX))
          $(INSTDIR)/share/man/man1/ocamlopt.opt.1 \
          $(INSTDIR)/share/man/man1/ocamlc.opt.1 \
          $(INSTDIR)/bin/camlp4boot
+ifeq ($(OCAML_HAVE_OCAMLOPT),no)
+# Remove files that make no sense without ocamlopt
+       rm -f \
+         $(INSTDIR)/share/man/man1/ocamloptp.1 \
+         $(INSTDIR)/share/man/man1/ocamlopt.1 \
+         $(INSTDIR)/bin/ocamloptp
+endif
 # Dispatch files with dh_install
        cd debian && \
        for u in ocaml ocaml-nox; do \

-- 
OCaml packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to