Source: mm
Version: 1.4.2-5
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

mm runs tests even when built with DEB_BUILD_OPTIONS=nocheck. Doing so
breaks e.g. cross building. The attached patch implements support for
DEB_BUILD_OPTIONS=nocheck. Please consider applying it.

Helmut
diff -u mm-1.4.2/debian/changelog mm-1.4.2/debian/changelog
--- mm-1.4.2/debian/changelog
+++ mm-1.4.2/debian/changelog
@@ -1,3 +1,10 @@
+mm (1.4.2-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Honour DEB_BUILD_OPTIONS=nocheck (closes: #-1).
+
+ -- Helmut Grohne <hel...@subdivi.de>  Tue, 22 May 2018 06:25:09 +0200
+
 mm (1.4.2-5) unstable; urgency=low
 
   * Update to debhelper 9.
diff -u mm-1.4.2/debian/rules mm-1.4.2/debian/rules
--- mm-1.4.2/debian/rules
+++ mm-1.4.2/debian/rules
@@ -37,7 +37,9 @@
        dh_testdir
 
        $(MAKE)
+ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
        ./mm_test
+endif
 
        touch build-stamp
 

Reply via email to