poedit: fix cross compilation

Closes: #10040 [via git-merge-pr]
This commit is contained in:
newbluemoon 2017-12-16 08:22:21 +01:00 committed by Jürgen Buchmüller
parent 20e6e1b3cd
commit 97a50d0b7f
1 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,6 @@ pkgname=poedit
version=2.0.5
revision=1
build_style=gnu-configure
configure_args="--with-wx-config=wx-config-3.0"
hostmakedepends="pkg-config"
makedepends="icu-devel db-devel gtkspell-devel wxWidgets-devel boost-devel Lucene++-devel"
depends="hicolor-icon-theme desktop-file-utils"
@ -16,6 +15,11 @@ checksum=c755959555b26e584d953a97ee39ed7d060323d003740ed9309eee7a2e205faa
CPPFLAGS="-DUCHAR_TYPE=uint16_t"
if [ -n "$CROSS_BUILD" ]; then
hostmakedepends+=" wxWidgets-devel"
configure_args="WXRC=/usr/bin/wxrc --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
fi
post_install() {
vlicense COPYING
}