[Pkg-ocaml-maint-commits] [SCM] ocamlduce packaging branch, master, updated. debian/3.11.1.0-1-2-ga4303d8
Stephane Glondu
steph at glondu.net
Thu Jul 23 19:25:10 UTC 2009
The following commit has been merged in the master branch:
commit a4303d8e08116a678e08b0968ddd65e653d7d835
Author: Stephane Glondu <steph at glondu.net>
Date: Thu Jul 23 20:56:24 2009 +0200
Use /usr/share/misc/config.{sub,guess} when available
Fix for FTBFS on avr32 (Closes: #538166).
diff --git a/debian/changelog b/debian/changelog
index bb0d1e5..851666b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
ocamlduce (3.11.1.0-2) UNRELEASED; urgency=low
* Update watch file
+ * Use /usr/share/misc/config.{sub,guess} when available to fix FTBFS
+ on avr32 (Closes: #538166)
- -- Stephane Glondu <steph at glondu.net> Thu, 09 Jul 2009 13:16:58 +0200
+ -- Stephane Glondu <steph at glondu.net> Thu, 23 Jul 2009 20:53:54 +0200
ocamlduce (3.11.1.0-1) unstable; urgency=low
diff --git a/debian/rules b/debian/rules
index de2300e..a61d733 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,11 @@ DH := dh --with quilt
config-stamp: ocamlinit-stamp
$(DH) build --before auto_configure
$(MAKE) prepare
+ for ext in sub guess; do \
+ if [ -f /usr/share/misc/config.$$ext ]; then \
+ cp -f /usr/share/misc/config.$$ext $(OCAML_SRCDIR)/config/gnu/config.$$ext; \
+ fi; \
+ done
cd $(OCAML_SRCDIR) && \
./configure -prefix /usr -libdir $(OCAML_STDLIB_DIR)
sed -i \
--
ocamlduce packaging
More information about the Pkg-ocaml-maint-commits
mailing list