Source: ftgl Version: 2.1.3~rc5-4+nmu1.1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
ftgl fails to cross build from source, because it configures for the build architecture by not passing any --host flag to ./configure. dh_auto_configure takes care of this for quite some time already, so simply indirecting the ./configure invocation through dh_auto_configure makes ftgl cross build successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru ftgl-2.1.3~rc5/debian/changelog ftgl-2.1.3~rc5/debian/changelog --- ftgl-2.1.3~rc5/debian/changelog 2016-11-26 18:25:04.000000000 +0100 +++ ftgl-2.1.3~rc5/debian/changelog 2016-12-21 06:24:54.000000000 +0100 @@ -1,3 +1,10 @@ +ftgl (2.1.3~rc5-4+nmu1.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass cross flags (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 21 Dec 2016 06:24:54 +0100 + ftgl (2.1.3~rc5-4+nmu1.1) unstable; urgency=medium * Non-maintainer upload. diff --minimal -Nru ftgl-2.1.3~rc5/debian/rules ftgl-2.1.3~rc5/debian/rules --- ftgl-2.1.3~rc5/debian/rules 2016-11-26 18:25:04.000000000 +0100 +++ ftgl-2.1.3~rc5/debian/rules 2016-12-21 06:24:53.000000000 +0100 @@ -25,8 +25,7 @@ dh_testdir QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 dh_autoreconf - ./configure --prefix=/usr --mandir=\$${prefix}/share/man \ - --infodir=\$${prefix}/share/info \ + dh_auto_configure -- \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) touch $@