Commit d76fb99f authored by Stephane Glondu's avatar Stephane Glondu

Fix compilation on bytecode architectures

parent d9a632ee
camlimages (1:4.0.1-2) unstable; urgency=low
* Team upload
* Fix compilation on bytecode architectures
-- Stéphane Glondu <glondu@debian.org> Sun, 03 Jul 2011 15:57:28 +0200
camlimages (1:4.0.1-1) unstable; urgency=low
* Team upload
......
......@@ -13,6 +13,9 @@ export OCAMLFIND_DESTDIR
.PHONY: override_dh_auto_configure
override_dh_auto_configure:
ifeq ($(OCAML_HAVE_OCAMLOPT),no)
sed -i 's/NATIVE_ENABLED=./NATIVE_ENABLED=0/' OMakefile
endif
.PHONY: override_dh_auto_build
override_dh_auto_build:
......@@ -27,6 +30,7 @@ override_dh_auto_install:
override_dh_auto_clean:
$(OMAKE) clean
find -name '*.omc' -delete
sed -i 's/NATIVE_ENABLED=./NATIVE_ENABLED=1/' OMakefile
.PHONY: override_dh_install
override_dh_install:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment