pkgsrc/x11/kde-workspace4/patches/patch-startkde.cmake
markd 31c21eaeb1 Update to KDE SC 4.8.0
add kactivities
rename kdebase4 -> kde-baseapps4
rename kdebase-runtime4 -> kde-runtime4
rename kdebase-workspace4 -> kde-workspace4
rename kdebindings4-python -> py-kde4
2012-03-19 19:44:01 +00:00

33 lines
990 B
CMake

$NetBSD: patch-startkde.cmake,v 1.1 2012/03/19 19:44:04 markd Exp $
--- startkde.cmake.orig 2007-11-29 02:29:24.000000000 +1300
+++ startkde.cmake
@@ -38,6 +38,12 @@ if [ -n "$bindir" ]; then
esac
fi
+qtbindir=@QTDIR@/bin
+case $PATH in
+ $qtbindir|$qtbindir:*|*:$qtbindir|*:$qtbindir:*) ;;
+ *) PATH=$qtbindir:$PATH; export PATH;;
+esac
+
# Boot sequence:
#
# kdeinit is used to fork off processes which improves memory usage
@@ -219,11 +225,11 @@ usr_fdir=$HOME/.fonts
if test -n "$KDEDIRS"; then
kdedirs_first=`echo "$KDEDIRS"|sed -e 's/:.*//'`
- sys_odir=$kdedirs_first/share/fonts/override
- sys_fdir=$kdedirs_first/share/fonts
+ sys_odir=$kdedirs_first/share/kde/fonts/override
+ sys_fdir=$kdedirs_first/share/kde/fonts
else
- sys_odir=$KDEDIR/share/fonts/override
- sys_fdir=$KDEDIR/share/fonts
+ sys_odir=$KDEDIR/share/kde/fonts/override
+ sys_fdir=$KDEDIR/share/kde/fonts
fi
# We run mkfontdir on the user's font dirs (if we have permission) to pick