diff --git a/srcpkgs/wxWidgets/template b/srcpkgs/wxWidgets/template index bd43970594..d02563fa6b 100644 --- a/srcpkgs/wxWidgets/template +++ b/srcpkgs/wxWidgets/template @@ -1,7 +1,7 @@ # Template file for 'wxWidgets' pkgname=wxWidgets version=3.0.5.1 -revision=3 +revision=4 configure_args="--enable-unicode --with-opengl --with-sdl --with-libmspack --with-libnotify --enable-mediactrl --with-gtk=2 --disable-webview" build_style=gnu-configure @@ -44,10 +44,11 @@ post_install() { ${DESTDIR}/usr/lib/wx/config/${_config} fi - sed -i -e '/^libdir="\/usr/s,/usr,${exec_prefix},' \ + vsed -i -e '/^libdir="\/usr/s,/usr,${exec_prefix},' \ -e '/^bindir="\/usr/s,/usr,${exec_prefix},' \ -e 's/is_cross() { .* }/is_cross() { false; }/g' \ -e '/--\*=\*)/i --host=\*) continue;;' \ + -e "s/lib${XBPS_WORDSIZE}/lib/g" \ ${DESTDIR}/usr/lib/wx/config/${_config} ln -sf ../lib/wx/config/${_config} ${PKGDESTDIR}/usr/bin/wx-config-3.0 ln -sf wx-config-3.0 ${DESTDIR}/usr/bin/wx-config