diff options
Diffstat (limited to 'network/sim/sim.SlackBuild')
-rw-r--r-- | network/sim/sim.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/network/sim/sim.SlackBuild b/network/sim/sim.SlackBuild index 6dadb048eb69..98e2d1fa95b4 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 |