diff --git a/srcpkgs/poedit/template b/srcpkgs/poedit/template index a3d235c2462..5fbacc8ba3c 100644 --- a/srcpkgs/poedit/template +++ b/srcpkgs/poedit/template @@ -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 }