Source: wcstools
Version: 3.9.5-2
Tags: patch
User: [email protected]
Usertags: rebootstrap

wcstools fails to cross build from source, because it fails running
tests despite DEB_BUILD_OPTIONS=nocheck. After supporting
DEB_BUILD_OPTIONS=nocheck, wcstools cross builds successfully. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru wcstools-3.9.5/debian/changelog 
wcstools-3.9.5/debian/changelog
--- wcstools-3.9.5/debian/changelog     2018-01-23 21:30:58.000000000 +0100
+++ wcstools-3.9.5/debian/changelog     2018-05-18 16:37:39.000000000 +0200
@@ -1,3 +1,10 @@
+wcstools (3.9.5-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Support DEB_BUILD_OPTIONS=nocheck. Closes: #-1
+
+ -- Helmut Grohne <[email protected]>  Fri, 18 May 2018 16:37:39 +0200
+
 wcstools (3.9.5-2) unstable; urgency=low
 
   * Update VCS fields to use salsa.d.o
diff --minimal -Nru wcstools-3.9.5/debian/rules wcstools-3.9.5/debian/rules
--- wcstools-3.9.5/debian/rules 2018-01-23 21:23:03.000000000 +0100
+++ wcstools-3.9.5/debian/rules 2018-05-18 16:37:37.000000000 +0200
@@ -19,9 +19,11 @@
        test -e debian/iraf/lib/helpdb.mip
 
 override_dh_auto_test-arch:
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
        LD_LIBRARY_PATH=$$PWD/libwcs:$$LD_LIBRARY_PATH \
        PATH=$$PWD/bin:$$PATH \
        debian/tests/wcstools-test
+endif
 
 override_dh_installchangelogs:
        dh_installchangelogs NEWS

Reply via email to