filezilla: fix cross compilation

Closes: #10038 [via git-merge-pr]
This commit is contained in:
newbluemoon 2017-12-16 08:01:42 +01:00 committed by Jürgen Buchmüller
parent 106a7d0808
commit 96c8127e94

View file

@ -2,10 +2,8 @@
pkgname=filezilla
version=3.29.0
revision=1
nocross=yes
build_style=gnu-configure
configure_args="WXRC=/usr/bin/wxrc-3.0 --with-wx-config=wx-config-3.0
--disable-static --disable-manualupdatecheck --disable-autoupdatecheck"
configure_args="--disable-static --disable-manualupdatecheck --disable-autoupdatecheck"
hostmakedepends="pkg-config"
makedepends="gnutls-devel pugixml-devel dbus-devel libidn-devel sqlite-devel
gtk+-devel wxWidgets-devel xdg-utils libfilezilla-devel"
@ -16,3 +14,12 @@ license="GPL-2"
homepage="http://filezilla-project.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/FileZilla_${version}_src.tar.bz2"
checksum=ead1ed74f19cf33aadf814a45b742207de3a8c349dbe2a11c344966bb8705259
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" wxWidgets-devel xdg-utils"
pre_configure() {
# set --host for sub-configure script else configure breaks
sed -i -e "s|\"\$ac_abs_confdir/src/fzshellext/configure\" --disable-shellext|& --host=${XBPS_TRIPLET}|" configure
}
fi