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

Bug#939004: ipgrab FTCBFS: does not pass --host to ./configure



Source: ipgrab
Version: 0.9.10-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs

ipgrab fails to cross build from source, because it does not pass --host
to ./configure. The easiest way of doing so - using dh_auto_configure -
makes ipgrab cross buildable. Please consider applying the attached
patch.

Helmut
diff --minimal -Nru ipgrab-0.9.10/debian/changelog ipgrab-0.9.10/debian/changelog
--- ipgrab-0.9.10/debian/changelog	2017-01-21 21:41:38.000000000 +0100
+++ ipgrab-0.9.10/debian/changelog	2019-08-31 07:52:55.000000000 +0200
@@ -1,3 +1,9 @@
+ipgrab (0.9.10-3) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sat, 31 Aug 2019 07:52:55 +0200
+
 ipgrab (0.9.10-2) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru ipgrab-0.9.10/debian/rules ipgrab-0.9.10/debian/rules
--- ipgrab-0.9.10/debian/rules	2015-07-16 17:17:55.000000000 +0200
+++ ipgrab-0.9.10/debian/rules	2019-08-31 07:52:54.000000000 +0200
@@ -13,8 +13,7 @@
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
-	# Add here commands to configure the package.
-	./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+	dh_auto_configure
 
 	touch configure-stamp
 

Reply to: