diff --git a/srcpkgs/widelands/template b/srcpkgs/widelands/template index e2de17e0f94..41752d4bc38 100644 --- a/srcpkgs/widelands/template +++ b/srcpkgs/widelands/template @@ -1,8 +1,8 @@ # Template file for 'widelands' pkgname=widelands version=19 -revision=6 -wrksrc=${pkgname}-build${version}-src +revision=7 +wrksrc="${pkgname}-build${version}-src" build_style=cmake configure_args=" -DOPENGL_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include @@ -18,12 +18,12 @@ maintainer="Jürgen Buchmüller " license="GPL-2" homepage="http://www.widelands.org/" distfiles="https://launchpad.net/${pkgname}/build${version}/build${version}/+download/${pkgname}-build${version}-src.tar.bz2" -checksum="e511f9d26828a2b71b64cdfc6674e6e847543b2da73961ab882acca36c7c01a6" +checksum=e511f9d26828a2b71b64cdfc6674e6e847543b2da73961ab882acca36c7c01a6 -CXXFLAGS="-Wno-maybe-uninitialized" +CXXFLAGS="-Wno-maybe-uninitialized -DU_USING_ICU_NAMESPACE=1" pre_configure() { - if [ -n "$CROSS_BUILD" ]; then + if [ "$CROSS_BUILD" ]; then # Upstream could have defined a flag to disable tests, # or make sure that test binaries are in host format... patch -p0 < ${FILESDIR}/disable-testing.patch