diff --git a/srcpkgs/kdesignerplugin/template b/srcpkgs/kdesignerplugin/template index 8ca7f017984..deede82a5a9 100644 --- a/srcpkgs/kdesignerplugin/template +++ b/srcpkgs/kdesignerplugin/template @@ -19,7 +19,9 @@ if [ -n "$CROSS_BUILD" ]; then fi pre_configure() { - sed -i KF5DesignerPluginConfig.cmake -e "s;KF5::;/usr/bin/;" + if [ -n "$CROSS_BUILD" ]; then + sed -i KF5DesignerPluginConfig.cmake -e "s;KF5::;/usr/bin/;" + fi } kdesignerplugin-devel_package() {