[xml/sgml-pkgs] Bug#871512: libxmltok FTCBFS: uses the build architecture compiler
Helmut Grohne
helmut at subdivi.de
Tue Aug 8 18:25:53 UTC 2017
Source: libxmltok
Version: 1.2-3
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap
libxmltok fails to cross build from source, because it uses the build
architecture compiler. Letting dh_auto_build pass cross compilers to
make fixes the build. Please consider applying the attached patch.
Helmut
-------------- next part --------------
diff -u libxmltok-1.2/debian/rules libxmltok-1.2/debian/rules
--- libxmltok-1.2/debian/rules
+++ libxmltok-1.2/debian/rules
@@ -32,7 +32,7 @@
build: build-stamp
build-stamp:
dh_testdir
- $(MAKE) CFLAGS="$(CFLAGS)"
+ dh_auto_build -- CFLAGS="$(CFLAGS)"
touch build-stamp
install: install-stamp
diff -u libxmltok-1.2/debian/control libxmltok-1.2/debian/control
--- libxmltok-1.2/debian/control
+++ libxmltok-1.2/debian/control
@@ -7,7 +7,7 @@
Vcs-Browser: http://alioth.debian.org/plugins/scmcvs/cvsweb.php/packages/libxmltok/?cvsroot=debian-xml-sgml
Vcs-Cvs: :pserver:anonymous at cvs.alioth.debian.org:/cvsroot/debian-xml-sgml/packages/libxmltok
Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 5.0)
+Build-Depends: debhelper (>= 7)
Package: libxmltok1-dev
Section: libdevel
diff -u libxmltok-1.2/debian/changelog libxmltok-1.2/debian/changelog
--- libxmltok-1.2/debian/changelog
+++ libxmltok-1.2/debian/changelog
@@ -1,3 +1,10 @@
+libxmltok (1.2-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Let dh_auto_build pass cross compilers to make. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Tue, 08 Aug 2017 20:22:58 +0200
+
libxmltok (1.2-3) unstable; urgency=low
* debian/control:
More information about the debian-xml-sgml-pkgs
mailing list