diff --git a/srcpkgs/mumble/template b/srcpkgs/mumble/template index 5d322c7963..7d5a04698a 100644 --- a/srcpkgs/mumble/template +++ b/srcpkgs/mumble/template @@ -1,7 +1,7 @@ # Template file for 'mumble' pkgname=mumble version=1.2.16 -revision=1 +revision=2 hostmakedepends="pkg-config" makedepends=" libcap-devel Ice-devel protobuf-devel libXi-devel qt-devel libressl-devel @@ -21,9 +21,13 @@ do_configure() { CONFIG+="bundled-celt no-bundled-opus no-speechd no-bundled-speex no-g15 \ no-xevie pulseaudio no-embed-qt-translations no-update-packaged" \ DEFINES+="PLUGIN_PATH=/usr/lib/mumble" CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS" + # qmake-qt4 ignores CXXFLAGS and LDFLAGS thus patch the Makefiles + sed -i */Makefile* */*/Makefile* \ + -e "s;^\(LFLAGS.*=.*\);& $LDFLAGS;" \ + -e "s;^\(CXXFLAGS.*=.*\);& $CXXFLAGS;" } do_build() { - make release + make ${makejobs} release } do_install() { vlicense LICENSE