Source: flex
Version: 2.6.0-1
Tags: patch
User: [email protected]
Usertags: rebootstrap

Hi,

Since the 2.6.0-1 upload, flex has another reason to fail to cross build
from source (beyond #762180). It runs tests even when the user requests
not running tests via DEB_BUILD_OPTIONS=nocheck. I am attaching a patch
to address this issue for your convenience.

Helmut
diff -u flex-2.6.0/debian/changelog flex-2.6.0/debian/changelog
--- flex-2.6.0/debian/changelog
+++ flex-2.6.0/debian/changelog
@@ -1,3 +1,10 @@
+flex (2.6.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Do not run tests when DEB_BUILD_OPTIONS=nocheck. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 25 Jan 2016 19:08:15 +0100
+
 flex (2.6.0-1) unstable; urgency=low
 
   * New upstream version  i
--- flex-2.6.0.orig/Makefile.am
+++ flex-2.6.0/Makefile.am
@@ -53,9 +53,11 @@
        doc \
        examples \
        po \
-       tests \
        tools
 
+check:
+       $(MAKE) -C tests
+
 # Create the ChangeLog, but only if we're inside a git working directory
 
 ChangeLog: $(srcdir)/tools/git2cl

Reply via email to