summaryrefslogtreecommitdiff
path: root/network/sim/sim.SlackBuild
diff options
context:
space:
mode:
authorAlexander Brovikov <bas@c0d3rz.info>2010-05-11 19:46:01 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:46:01 +0200
commit315815c65a03bc3d4357be7d521462418bda4d7a (patch)
tree54f574e4d89a373c6b14f09365e330f5bf0caf52 /network/sim/sim.SlackBuild
parent00bbf2b55c9b6982ab66b9a09e06c23fdc3536e0 (diff)
downloadslackbuilds-315815c65a03bc3d4357be7d521462418bda4d7a.tar.gz
network/sim: Updated for version 0.9.4.2
Diffstat (limited to 'network/sim/sim.SlackBuild')
-rw-r--r--network/sim/sim.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/network/sim/sim.SlackBuild b/network/sim/sim.SlackBuild
index 6dadb048eb..98e2d1fa95 100644
--- a/network/sim/sim.SlackBuild
+++ b/network/sim/sim.SlackBuild
@@ -28,7 +28,7 @@ VERSION=0.9.4.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -48,10 +48,12 @@ 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 \
+ --prefix=$KDEPREF \
|| exit 1
make || exit 1