summaryrefslogtreecommitdiff
path: root/network/kssh/kssh.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/kssh/kssh.SlackBuild')
-rw-r--r--network/kssh/kssh.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/kssh/kssh.SlackBuild b/network/kssh/kssh.SlackBuild
index 2e1b3e1c86..3ad6891a22 100644
--- a/network/kssh/kssh.SlackBuild
+++ b/network/kssh/kssh.SlackBuild
@@ -31,7 +31,7 @@ VERSION=0.7
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -51,8 +51,10 @@ cd $PRGNAM-$VERSION || exit 1
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+KDEPREF=$(kde-config --prefix)
+
CFLAGS="$SLKCFLAGS" \
-./configure --prefix=/opt/kde \
+./configure --prefix=$KDEPREF \
--sysconfdir=/etc \
--localstatedir=/var \
|| exit 1