[Pkg-ocaml-maint-commits] [SCM] janest-core packaging branch, master, updated. debian/0.5.2-1-11-g6ebfadc
Stephane Glondu
steph at glondu.net
Sun Aug 30 01:42:38 UTC 2009
The following commit has been merged in the master branch:
commit bbcba4cb49b1495a45d9525c0829709423063a55
Author: Stephane Glondu <steph at glondu.net>
Date: Sun Aug 30 01:15:14 2009 +0200
Add a patch to fix FTBFS on kfreebsd
diff --git a/debian/patches/0004-Fix-build-on-kfreebsd.patch b/debian/patches/0004-Fix-build-on-kfreebsd.patch
new file mode 100644
index 0000000..1fe9e08
--- /dev/null
+++ b/debian/patches/0004-Fix-build-on-kfreebsd.patch
@@ -0,0 +1,28 @@
+From: Stephane Glondu <steph at glondu.net>
+Date: Sun, 30 Aug 2009 01:01:48 +0200
+Subject: [PATCH] Fix build on kfreebsd
+
+Signed-off-by: Stephane Glondu <steph at glondu.net>
+---
+ lib_test/Makefile | 6 ++++--
+ 1 files changed, 4 insertions(+), 2 deletions(-)
+
+diff --git a/lib_test/Makefile b/lib_test/Makefile
+index 4f36640..caf6df5 100644
+--- a/lib_test/Makefile
++++ b/lib_test/Makefile
+@@ -7,9 +7,11 @@ export PACKS = bigarray oUnit type-conv sexplib bin_prot res
+ export THREADS = yes
+ ANNOTATE = true
+
+-ifeq ($(shell uname -s), Darwin)
++KERNEL = $(shell uname -s)
++
++ifeq ($(KERNEL), Darwin)
+ export DARWIN = true
+-else
++else ifeq ($(KERNEL), Linux)
+ LINUX_EXT_TEST = linux_ext_test.ml
+ export LINUX = true
+ endif
+--
diff --git a/debian/patches/series b/debian/patches/series
index 55c636c..25cf3c1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0001-bug-fix-libinstall-byte-code-should-not-depend-on-na.patch
0002-extra-targets-to-enable-compilation-of-byte-code-onl.patch
0003-add-missing-META-dep-on-unix.patch
+0004-Fix-build-on-kfreebsd.patch
--
janest-core packaging
More information about the Pkg-ocaml-maint-commits
mailing list