ocaml (3.12.1-5) UNRELEASED; urgency=low
+ [ Sylvain Le Gall ]
* Remove Sylvain Le Gall from uploaders
+ [ Mehdi Dogguy ]
+ * Use DEB_BUILD_GNU_TYPE instead of relying on "uname -m" (Closes: #689517).
+ Thanks to Konstantinos Margaritis for the patch.
+
-- Sylvain Le Gall <gildor@debian.org> Fri, 21 Sep 2012 01:20:13 +0000
ocaml (3.12.1-4) unstable; urgency=low
OCAML_NATIVE_ARCHS := $(shell cat debian/native-archs)
OCAML_NATDYNLINK_ARCHS := $(shell cat debian/natdynlink-archs)
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
OCAML_OPT_ARCH := $(findstring $(DEB_BUILD_ARCH),$(OCAML_NATIVE_ARCHS))
OCAML_HAVE_OCAMLOPT := $(if $(OCAML_OPT_ARCH),yes,no)
OCAML_OCAMLDOC_DESTDIR_HTML =
export OCAML_STDLIB_DIR
CONFIGURE_OPTS := \
+ --host $(DEB_BUILD_GNU_TYPE)\
--with-pthread -prefix /usr \
-libdir $(OCAML_STDLIB_DIR) \
-x11lib "$(shell pkg-config --variable=libdir x11)" \