[r-cran-knitr] 01/03: Enforce FTBFS on armel, because node.js is no longer available there.

Sébastien Villemot sebastien at debian.org
Mon Oct 9 09:47:48 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository r-cran-knitr.

commit d735116e58d8c5eece687a1fa2164f73657b1c0b
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Mon Oct 9 11:43:03 2017 +0200

    Enforce FTBFS on armel, because node.js is no longer available there.
---
 debian/rules | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/rules b/debian/rules
index 68d9a36..6dbbb5f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,15 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/default.mk
+
 %:
 	dh $@ --buildsystem R
+
+override_dh_auto_configure:
+ifeq ($(DEB_HOST_ARCH),armel)
+	@echo "*************************************************"
+	@echo "node.js is not available on armel, stopping here."
+	@echo "*************************************************"
+	@false
+endif
+	dh_auto_configure -O--buildsystem=R

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-knitr.git



More information about the debian-science-commits mailing list