[Pkg-ocaml-maint-commits] [SCM] ocaml-reins packaging branch, master, updated. debian/0.1a-3-1-g1eee3b9
Mehdi Dogguy
mehdi at debian.org
Thu Apr 21 20:23:46 UTC 2011
The following commit has been merged in the master branch:
commit 1eee3b9e14eea048b5a7ff4cc284071c9adb8ef5
Author: Mehdi Dogguy <mehdi at debian.org>
Date: Thu Apr 21 22:07:30 2011 +0200
Set a dummy HOME when calling omake
diff --git a/debian/changelog b/debian/changelog
index 2e2a264..0f722f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ocaml-reins (0.1a-4) unstable; urgency=low
+
+ * Team upload.
+ * Set a dummy HOME when calling omake (fixes FTBFS on buildds where
+ HOME is not set).
+
+ -- Mehdi Dogguy <mehdi at debian.org> Thu, 21 Apr 2011 22:06:00 +0200
+
ocaml-reins (0.1a-3) unstable; urgency=low
* Switch to dh-ocaml 0.9
diff --git a/debian/rules b/debian/rules
index 1b43de8..083525b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,11 +10,11 @@ DEST := $(CURDIR)/debian/libreins-ocaml-dev/$(OCAML_STDLIB_DIR)
.PHONY: override_dh_auto_build
override_dh_auto_build:
- OCAMLFIND_DESTDIR=$(DEST) omake --config
+ HOME=/nonexistant OCAMLFIND_DESTDIR=$(DEST) omake --config
.PHONY: override_dh_auto_clean
override_dh_auto_clean:
- omake clean
+ HOME=/nonexistant omake clean
rm -f .omake*
find . -iname \*.omc -exec rm -f \{\} \;
find . -iname \*.annot -exec rm -f \{\} \;
@@ -22,4 +22,4 @@ override_dh_auto_clean:
.PHONY: override_dh_auto_install
override_dh_auto_install:
- OCAMLFIND_DESTDIR=$(DEST) omake install
+ HOME=/nonexistant OCAMLFIND_DESTDIR=$(DEST) omake install
--
ocaml-reins packaging
More information about the Pkg-ocaml-maint-commits
mailing list