diff options
Diffstat (limited to 'pkgs/desktops/kde-4-old/runtime/builder.sh')
-rwxr-xr-x | pkgs/desktops/kde-4-old/runtime/builder.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/desktops/kde-4-old/runtime/builder.sh b/pkgs/desktops/kde-4-old/runtime/builder.sh new file mode 100755 index 0000000000000..99b357fcf1678 --- /dev/null +++ b/pkgs/desktops/kde-4-old/runtime/builder.sh @@ -0,0 +1,12 @@ +source ${stdenv}/setup + +myPatchPhase() +{ + 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 ../workspace/kcontrol/randr/randr.h +} +patchPhase=myPatchPhase +genericBuild |