aboutsummaryrefslogtreecommitdiff
path: root/system/filelight/filelight.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/filelight/filelight.SlackBuild')
-rw-r--r--system/filelight/filelight.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/filelight/filelight.SlackBuild b/system/filelight/filelight.SlackBuild
index d81164524ba4f..14020f97bc40c 100644
--- a/system/filelight/filelight.SlackBuild
+++ b/system/filelight/filelight.SlackBuild
@@ -10,7 +10,7 @@ VERSION=1.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -32,9 +32,11 @@ cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+KDEPREF=$(kde-config --prefix)
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-./configure --prefix=/opt/kde \
+./configure --prefix=$KDEPREF \
--enable-final \
--disable-debug \
--program-prefix="" \