[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#909104: shhopt FTCBFS: does not pass cross tools to make



Source: shhopt
Version: 1.1.7-3
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

shhopt fails to cross build from source, because it does not pass cross
tools to make. The easiest way of fixing that is letting dh_auto_build
do it and indeed that is sufficient for making shhopt cross buildable.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru shhopt-1.1.7/debian/changelog shhopt-1.1.7/debian/changelog
--- shhopt-1.1.7/debian/changelog
+++ shhopt-1.1.7/debian/changelog
@@ -1,3 +1,10 @@
+shhopt (1.1.7-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 18 Sep 2018 06:13:48 +0200
+
 shhopt (1.1.7-3) unstable; urgency=low
 
   * QA upload.
diff --minimal -Nru shhopt-1.1.7/debian/rules shhopt-1.1.7/debian/rules
--- shhopt-1.1.7/debian/rules
+++ shhopt-1.1.7/debian/rules
@@ -12,9 +12,9 @@
 
 build-stamp:
 	dh_testdir
-	$(MAKE)
+	dh_auto_build
 	$(MAKE) clean
-	$(MAKE) SHARED=1 CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS)
+	dh_auto_build -- SHARED=1 CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS)
 	touch build-stamp
 
 clean:

Reply to: