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

Bug#928851: java2html FTCBFS: configures for the build architecture



Source: java2html
Version: 0.9.2-6
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

java2html 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 java2html cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru java2html-0.9.2/debian/changelog java2html-0.9.2/debian/changelog
--- java2html-0.9.2/debian/changelog	2018-02-26 13:13:57.000000000 +0100
+++ java2html-0.9.2/debian/changelog	2019-05-12 07:50:08.000000000 +0200
@@ -1,3 +1,9 @@
+java2html (0.9.2-7) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 12 May 2019 07:50:08 +0200
+
 java2html (0.9.2-6) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru java2html-0.9.2/debian/control java2html-0.9.2/debian/control
--- java2html-0.9.2/debian/control	2018-02-26 13:12:25.000000000 +0100
+++ java2html-0.9.2/debian/control	2019-05-12 07:50:07.000000000 +0200
@@ -4,7 +4,7 @@
 Maintainer: Debian QA Group <packages@qa.debian.org>
 Standards-Version: 3.7.2
 Build-Depends:
- debhelper (>= 5),
+ debhelper (>= 7),
  flex,
  libfl-dev,
  dh-autoreconf,
diff --minimal -Nru java2html-0.9.2/debian/rules java2html-0.9.2/debian/rules
--- java2html-0.9.2/debian/rules	2018-02-26 13:13:57.000000000 +0100
+++ java2html-0.9.2/debian/rules	2019-05-12 07:49:56.000000000 +0200
@@ -17,7 +17,7 @@
 	dh_testdir
 
 	dh_autoreconf autoconf
-	./configure --enable-fhs
+	dh_auto_configure -- --enable-fhs
 	$(MAKE) CFLAGS="$(CFLAGS)"
 
 	touch build-stamp

Reply to: