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

Bug#912276: xmacro FTCBFS: does not pass cross tools to make



Source: xmacro
Version: 0.3pre-20000911-7
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

xmacro fails to cross build from source, because debian/rules does not
pass cross tools to make. The easiest way of doing so is deferring to
dh_auto_build. That is sufficient to make xmacro cross buildable. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru xmacro-0.3pre-20000911/debian/changelog xmacro-0.3pre-20000911/debian/changelog
--- xmacro-0.3pre-20000911/debian/changelog	2017-01-05 13:50:50.000000000 +0100
+++ xmacro-0.3pre-20000911/debian/changelog	2018-10-29 20:24:48.000000000 +0100
@@ -1,3 +1,10 @@
+xmacro (0.3pre-20000911-7.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>  Mon, 29 Oct 2018 20:24:48 +0100
+
 xmacro (0.3pre-20000911-7) unstable; urgency=low
 
   * QA upload.
diff --minimal -Nru xmacro-0.3pre-20000911/debian/control xmacro-0.3pre-20000911/debian/control
--- xmacro-0.3pre-20000911/debian/control	2017-01-05 13:43:06.000000000 +0100
+++ xmacro-0.3pre-20000911/debian/control	2018-10-29 20:24:48.000000000 +0100
@@ -2,7 +2,7 @@
 Section: utils
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>> 5.0), libx11-dev, libxtst-dev
+Build-Depends: debhelper (>= 7), libx11-dev, libxtst-dev
 Standards-Version: 3.9.2
 
 Package: xmacro
diff --minimal -Nru xmacro-0.3pre-20000911/debian/rules xmacro-0.3pre-20000911/debian/rules
--- xmacro-0.3pre-20000911/debian/rules	2017-01-05 13:50:37.000000000 +0100
+++ xmacro-0.3pre-20000911/debian/rules	2018-10-29 20:24:46.000000000 +0100
@@ -27,9 +27,7 @@
 
 build-stamp: configure-stamp 
 	dh_testdir
-
-	# Add here commands to compile the package.
-	$(MAKE)
+	dh_auto_build
 	#/usr/bin/docbook-to-man debian/xmacro-0.3pre.sgml > xmacro-0.3pre.1
 
 	touch build-stamp

Reply to: