Source: fluxbox Version: 1.3.5-2 Tags: patch User: [email protected] Usertags: rebootstrap
fluxbox fails to cross build from source, because it does not pass --host to ./configure. The easiest way of doing so is letting dh_auto_configure handle it. That's what the attached patch does. Please consider applying it as fluxbox cross builds successfully with it. Helmut
diff --minimal -Nru fluxbox-1.3.5/debian/changelog fluxbox-1.3.5/debian/changelog --- fluxbox-1.3.5/debian/changelog 2014-02-25 04:56:47.000000000 +0100 +++ fluxbox-1.3.5/debian/changelog 2017-01-11 11:42:34.000000000 +0100 @@ -1,3 +1,10 @@ +fluxbox (1.3.5-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass cross compilers (Closes: #-1) + + -- Helmut Grohne <[email protected]> Wed, 11 Jan 2017 11:42:34 +0100 + fluxbox (1.3.5-2) unstable; urgency=low [Paul Tagliamonte] diff --minimal -Nru fluxbox-1.3.5/debian/rules.d/010-configure-flags.mk fluxbox-1.3.5/debian/rules.d/010-configure-flags.mk --- fluxbox-1.3.5/debian/rules.d/010-configure-flags.mk 2014-02-25 04:52:06.000000000 +0100 +++ fluxbox-1.3.5/debian/rules.d/010-configure-flags.mk 2017-01-11 11:42:30.000000000 +0100 @@ -3,7 +3,6 @@ DEB_CONFIGURE_EXTRA_FLAGS := \ --enable-nls \ --enable-xft \ - --prefix=/usr \ --enable-shape \ --enable-fribidi \ --enable-xinerama \ diff --minimal -Nru fluxbox-1.3.5/debian/rules.d/050-configure_override.mk fluxbox-1.3.5/debian/rules.d/050-configure_override.mk --- fluxbox-1.3.5/debian/rules.d/050-configure_override.mk 2014-02-25 04:52:06.000000000 +0100 +++ fluxbox-1.3.5/debian/rules.d/050-configure_override.mk 2017-01-11 11:42:16.000000000 +0100 @@ -17,4 +17,4 @@ DEB_CONFIGURE_EXTRA_FLAGS += -with-style=$(DEB_STYLE_DIR)/$(THEME_DEFAULT) override_dh_auto_configure: - ./configure $(DEB_CONFIGURE_EXTRA_FLAGS) + dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)

