Source: patchutils
Version: 0.3.2-3
Severity: normal
Tags: patch

Hi,

I created a patch for "patchutils (0.3.2-3)" when bootstrapping
OpenRISC/or1k, in the case that you find it useful.

"nocheck" is one of the recommended things to implement in
DEB_BUILD_OPTIONS [1].

[1] https://www.debian.org/doc/debian-policy/ch-source.html
4.9.1 debian/rules and DEB_BUILD_OPTIONS


Cheers.
-- 
Manuel A. Fernandez Montecelo <[email protected]>
diff -Nru patchutils-0.3.2/debian/changelog patchutils-0.3.2/debian/changelog
--- patchutils-0.3.2/debian/changelog	2013-11-04 13:24:38.000000000 +0000
+++ patchutils-0.3.2/debian/changelog	2014-03-29 16:12:34.000000000 +0000
@@ -1,3 +1,10 @@
+patchutils (0.3.2-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Bootstrap of or1k, honor DEB_BUILD_OPTIONS "nocheck"
+
+ -- Manuel A. Fernandez Montecelo <[email protected]>  Sat, 29 Mar 2014 15:20:59 +0000
+
 patchutils (0.3.2-3) unstable; urgency=low
 
   * New maintainer (closes: #728665).
diff -Nru patchutils-0.3.2/debian/rules patchutils-0.3.2/debian/rules
--- patchutils-0.3.2/debian/rules	2013-11-04 13:23:21.000000000 +0000
+++ patchutils-0.3.2/debian/rules	2014-03-29 17:20:27.000000000 +0000
@@ -36,9 +36,11 @@
 	# Manual files that use the .so links to include other pages should
 	# point to a path relative to the top-level manual hierarchy
 	sed -i -e 's/ rediff.1/ man1\/rediff.1/' doc/editdiff.1
+ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
 	$(MAKE) check -j1
 endif
+endif
 	touch build-stamp
 
 build-indep:

Reply via email to