diff --git a/srcpkgs/ktorrent/template b/srcpkgs/ktorrent/template index 2c0ce76d9e8..77209881a1c 100644 --- a/srcpkgs/ktorrent/template +++ b/srcpkgs/ktorrent/template @@ -20,3 +20,8 @@ if [ "$CROSS_BUILD" ]; then configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson" hostmakedepends+=" kdoctools kconfig kcoreaddons" fi + +pre_configure() { + # The ECM FindTaglib.cmake gives different variable names + grep -rl TAGLIB_ | xargs -n1 sed -i -e "s;TAGLIB_;Taglib_;g" +}