Source: libthai
Version: 0.1.25-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

Thank you for applying my patches to libdatrie so quickly. Now the
libthai cross build gets further along and fails running tests. Like
libdatrie, tests need to be skippable for cross compilation. Please
consider applying this patch as well.

Helmut
diff --minimal -Nru libthai-0.1.25/debian/changelog 
libthai-0.1.25/debian/changelog
--- libthai-0.1.25/debian/changelog     2016-06-28 10:29:47.000000000 +0200
+++ libthai-0.1.25/debian/changelog     2016-10-15 09:39:32.000000000 +0200
@@ -1,3 +1,10 @@
+libthai (0.1.25-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Honour DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 15 Oct 2016 09:39:20 +0200
+
 libthai (0.1.25-1) unstable; urgency=medium
 
   * Imported Upstream version 0.1.25
diff --minimal -Nru libthai-0.1.25/debian/rules libthai-0.1.25/debian/rules
--- libthai-0.1.25/debian/rules 2016-06-28 10:29:47.000000000 +0200
+++ libthai-0.1.25/debian/rules 2016-10-15 09:39:18.000000000 +0200
@@ -20,9 +20,11 @@
 # No test for data, doc
 override_dh_auto_test-indep:
 
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
 override_dh_auto_test-arch:
        $(MAKE) -C data
        $(MAKE) -C tests check
+endif
 
 override_dh_auto_install-indep:
        $(MAKE) -C data install DESTDIR=$(CURDIR)/debian/tmp

Reply via email to