2012-03-19 20:44:01 +01:00
|
|
|
$NetBSD: patch-startkde.cmake,v 1.1 2012/03/19 19:44:04 markd Exp $
|
2009-10-02 21:37:19 +02:00
|
|
|
|
|
|
|
--- startkde.cmake.orig 2007-11-29 02:29:24.000000000 +1300
|
|
|
|
+++ startkde.cmake
|
|
|
|
@@ -38,6 +38,12 @@ if [ -n "$bindir" ]; then
|
|
|
|
esac
|
|
|
|
fi
|
|
|
|
|
2011-01-23 08:55:12 +01:00
|
|
|
+qtbindir=@QTDIR@/bin
|
2009-10-02 21:37:19 +02:00
|
|
|
+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
|