Source: tetgen
Version: 1.5.0-4
Tags: patch
User: [email protected]
Usertags: rebootstrap

tetgen runs tests even when DEB_BUILD_OPTIONS contains "nocheck". This
breaks cross compilation as the tests (expectedly) fail there. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru tetgen-1.5.0/debian/changelog tetgen-1.5.0/debian/changelog
--- tetgen-1.5.0/debian/changelog       2016-09-04 18:39:15.000000000 +0200
+++ tetgen-1.5.0/debian/changelog       2018-06-09 13:50:26.000000000 +0200
@@ -1,3 +1,10 @@
+tetgen (1.5.0-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 09 Jun 2018 13:50:26 +0200
+
 tetgen (1.5.0-4) unstable; urgency=medium
 
   * [66adeb6] Apply cme fix dpkg.
diff --minimal -Nru tetgen-1.5.0/debian/rules tetgen-1.5.0/debian/rules
--- tetgen-1.5.0/debian/rules   2016-09-04 18:25:26.000000000 +0200
+++ tetgen-1.5.0/debian/rules   2018-06-09 13:50:23.000000000 +0200
@@ -15,8 +15,10 @@
        dh_auto_build
        docbook-to-man debian/tetgen.sgml > tetgen.1
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 override_dh_auto_test:
        $(BUILDDIR)/tetgen -p example.poly
+endif
 
 get-orig-source:
        uscan --force-download --rename --verbose --upstream-version 
$(TETGEN_VERSION)
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to