From: Stephane Glondu Date: Fri, 20 Feb 2009 08:00:20 +0000 (+0100) Subject: Tell debhelper to ignore ocaml-native-compilers on byte-only architectures X-Git-Tag: archive/raspbian/4.08.1-4+rpi1~3^2~430 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=68344807279eab5eb1405583ccb3dbcf5974d542;p=ocaml.git Tell debhelper to ignore ocaml-native-compilers on byte-only architectures --- diff --git a/debian/rules b/debian/rules index 0bbd8a93..1c131b2e 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