[Pkg-ocaml-maint-commits] [SCM] laby packaging branch, master, updated. debian/0.4.5-1-1-g8f02f16

Mehdi Dogguy dogguy at pps.jussieu.fr
Sat May 23 09:34:00 UTC 2009


The following commit has been merged in the master branch:
commit 8f02f16cc12e9c3beb6d2510f19611a829a1a2dc
Author: Mehdi Dogguy <dogguy at pps.jussieu.fr>
Date:   Sat May 23 11:00:54 2009 +0200

    Fix FTBFSs: compiling using OCAML_BEST

diff --git a/debian/changelog b/debian/changelog
index 4a9b5ed..b28afcd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+laby (0.4.5-2) unstable; urgency=low
+
+  * Fix FTBFS on non-native architectures: compiling using OCAML_BEST.
+
+ -- Mehdi Dogguy <dogguy at pps.jussieu.fr>  Sat, 23 May 2009 10:58:54 +0200
+
 laby (0.4.5-1) unstable; urgency=low
 
   * Initial release (Closes: #515617)
diff --git a/debian/rules b/debian/rules
index c94c008..36fee49 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,9 @@ include /usr/share/ocaml/ocamlinit.mk
 
 OCAML_BEST = $(if $(OCAML_OPT_ARCH),native,byte)
 
+override_dh_auto_build:
+	$(MAKE) $(OCAML_BEST)
+
 override_dh_auto_install:
 	cp laby.$(OCAML_BEST) $(CURDIR)/debian/laby/usr/games/laby
 	cp -r data/* $(CURDIR)/debian/laby/usr/share/laby/

-- 
laby packaging



More information about the Pkg-ocaml-maint-commits mailing list