summaryrefslogtreecommitdiffstats
path: root/source/kde/kdelibs/kdelibs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kdelibs/kdelibs.SlackBuild')
-rwxr-xr-xsource/kde/kdelibs/kdelibs.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/kde/kdelibs/kdelibs.SlackBuild b/source/kde/kdelibs/kdelibs.SlackBuild
index 656ee6678..aa6ddde09 100755
--- a/source/kde/kdelibs/kdelibs.SlackBuild
+++ b/source/kde/kdelibs/kdelibs.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -47,11 +47,6 @@ echo "Building kdelibs-$VERSION..."
tar xvf $CWD/../src/kdelibs-$VERSION.tar.?z* || exit 1
cd kdelibs-$VERSION
-zcat $CWD/fixPopupForPlasmaboard.diff.gz | patch -p1 --verbose || exit 1
-( cd kdesu
- zcat $CWD/kdesu-allow_NOPASS_in_suauth.patch.gz | patch -p1 --verbose || exit 1
-) || exit 1
-
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -62,6 +57,7 @@ find . \
mkdir -p build
cd build
cmake \
+ $KDE_OPT_ARGS \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
@@ -75,6 +71,9 @@ cd build
make install DESTDIR=$PKG || exit 1
cd -
+# Move the polkit dbus configuration files to the proper place:
+mv $PKG/etc/kde/dbus-1 $PKG/etc/
+
if [ -d $PKG/usr/man ]; then
gzip -9 $PKG/usr/man/man?/*
fi