i386 (thanks to Robert Millan and Aurélien Jarno; Closes: #216886).
* Modified debian/rules to exit with an error when native compiler build
fails, instead of building a broken package.
+ * New patch kbsd-gnu.dpatch to add support for GNU/Hurd and GNU/k*BSD on
+ i386 (thanks to Robert Millan and Aurélien Jarno; Closes: #216886).
- -- Julien Cristau <julien.cristau@ens-lyon.org> Thu, 10 Nov 2005 16:39:42 +0100
+ -- Julien Cristau <julien.cristau@ens-lyon.org> Thu, 10 Nov 2005 16:52:58 +0100
ocaml (3.09.0-1) unstable; urgency=low
you do not require any graphical capilities for your runtime.
Package: ocaml-native-compilers
-Architecture: alpha amd64 arm hppa i386 ia64 powerpc sparc
+Architecture: alpha amd64 arm hppa hurd-i386 i386 ia64 kfreebsd-i386 powerpc sparc
Depends: ocaml-nox (= ${Source-Version}), ocaml-nox-${F:OCamlABI}, gcc, binutils, ${shlibs:Depends}
Provides: ocaml-best-compilers
Description: Native code compilers of the ocaml suite (the .opt ones)
versioned_libdir
objinfo
man-ocamlmklib
+kbsd-gnu
--- /dev/null
+#! /bin/sh -e
+## kbsd-gnu.dpatch by Aurelien Jarno <aurel32@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Port to GNU/k*BSD
+
+if [ $# -ne 1 ]; then
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1
+fi
+case "$1" in
+ -patch) patch -f --no-backup-if-mismatch -p1 < $0;;
+ -unpatch) patch -f --no-backup-if-mismatch -R -p1 < $0;;
+ *)
+ echo "`basename $0`: script expects -patch|-unpatch as argument" >&2
+ exit 1;;
+esac
+
+exit 0
+@DPATCH@
+--- ocaml-3.09.0/configure 2005-11-10 00:50:29.000000000 +0100
++++ ocaml-3.09.0/configure 2005-11-10 00:53:37.000000000 +0100
+@@ -480,7 +480,7 @@
+
+ if test $withsharedlibs = "yes"; then
+ case "$host" in
+- *-*-linux-gnu|*-*-linux|*-*-freebsd[3-9]*)
++ *-*-linux-gnu|*-*-linux|*-*-k*bsd*-gnu|*-*-gnu*|*-*-freebsd[3-9]*)
+ sharedcccompopts="-fPIC"
+ mksharedlib="$bytecc -shared -o"
+ bytecclinkopts="$bytecclinkopts -Wl,-E"
+