[Pkg-ocaml-maint-commits] [extlib] 01/01: fix builds on architectures without ocamlopt
Johannes Schauer
josch at moszumanska.debian.org
Mon Aug 31 09:22:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
josch pushed a commit to branch master
in repository extlib.
commit 3f5130bdcb2b98ba556943a21fcb248ff1e2455d
Author: Johannes Schauer <josch at debian.org>
Date: Mon Aug 31 10:43:15 2015 +0200
fix builds on architectures without ocamlopt
---
debian/changelog | 9 ++++++++-
debian/rules | 9 +++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 4d0eaa3..803fe15 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,11 @@
-extlib (1.7.0-1) UNRELEASED; urgency=medium
+extlib (1.7.0-2) unstable; urgency=medium
+
+ * Team upload.
+ * fix builds on architectures without ocamlopt
+
+ -- Johannes Schauer <josch at debian.org> Mon, 31 Aug 2015 10:39:38 +0200
+
+extlib (1.7.0-1) unstable; urgency=medium
* Team upload.
* New upstream release
diff --git a/debian/rules b/debian/rules
index e986693..e373ccd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,3 +16,12 @@ override_dh_auto_install:
override_dh_installchangelogs:
dh_installchangelogs CHANGES
+
+# do not require ocamlopt during building or testing
+ifneq ($(OCAML_HAVE_OCAMLOPT),yes)
+override_dh_auto_build:
+ make -C src all
+
+override_dh_auto_test:
+ make -C test all run
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/extlib.git
More information about the Pkg-ocaml-maint-commits
mailing list