[Pkg-ocaml-maint-commits] [SCM] OCaml packaging branch, master, updated. debian/3.11.0-3-10-gfd1fa81
Stephane Glondu
steph at glondu.net
Fri Feb 20 08:55:51 UTC 2009
The following commit has been merged in the master branch:
commit 68344807279eab5eb1405583ccb3dbcf5974d542
Author: Stephane Glondu <steph at glondu.net>
Date: Fri Feb 20 09:00:20 2009 +0100
Tell debhelper to ignore ocaml-native-compilers on byte-only architectures
diff --git a/debian/rules b/debian/rules
index 0bbd8a9..1c131b2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,11 @@ SRCTARBALL = $(PACKAGE)-source-$(OCAML_ABI).tar.bz2
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+export DH_OPTIONS
+ifeq ($(OCAML_OPT_ARCH),)
+ DH_OPTIONS += -Nocaml-native-compilers
+endif
+
# This has to be exported to make gen_modules work
export OCAML_OPT_ARCH
export OCAML_STDLIB_DIR
--
OCaml packaging
More information about the Pkg-ocaml-maint-commits
mailing list