diff options
author | Helmut Grohne <helmut@subdivi.de> | 2017-12-11 21:22:42 +0000 |
---|---|---|
committer | Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> | 2017-12-11 21:22:42 +0000 |
commit | e4cb961cc1f29a79c759583b79b998e4d623b49c (patch) | |
tree | a880c3dd86c8ef870a01de3158637e854e691aca /debian/rules | |
parent | Debian release 0.5.3-34 (diff) | |
download | w3m-e4cb961cc1f29a79c759583b79b998e4d623b49c.tar.gz w3m-e4cb961cc1f29a79c759583b79b998e4d623b49c.zip |
Partially fix FTCBFS (addresses: #812682)
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 8dadfdf..b2d34f8 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all @@ -28,6 +30,11 @@ confargs := --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \ --enable-image=$(DEVS) \ --enable-m17n --enable-unicode --enable-nls +ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) +confargs += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) +export PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config +endif + builddir := . build-indep: |