summary refs log tree commit diff
path: root/pkgs/desktops/kde-4/workspace/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/kde-4/workspace/builder.sh')
-rwxr-xr-xpkgs/desktops/kde-4/workspace/builder.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/desktops/kde-4/workspace/builder.sh b/pkgs/desktops/kde-4/workspace/builder.sh
index f5a5b5a90bf..648d6175f35 100755
--- a/pkgs/desktops/kde-4/workspace/builder.sh
+++ b/pkgs/desktops/kde-4/workspace/builder.sh
@@ -2,7 +2,10 @@ source ${stdenv}/setup
 
 myPatchPhase()
 {
-	fixCmakeDbusCalls
+	echo "Fixing dbus calls in CMakeLists.txt files"
+# Trailing slash in sed is essential
+	find .. -name CMakeLists.txt \
+	| xargs sed -e "s@\${DBUS_INTERFACES_INSTALL_DIR}/@${kdelibs}/share/dbus-1/interfaces/@" -i
 	sed -e '/^#define HAS_RANDR_1_2 1$/d' -i ../kcontrol/randr/randr.h
 }
 patchPhase=myPatchPhase