aboutsummaryrefslogtreecommitdiff
path: root/desktop/domino/domino.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/domino/domino.SlackBuild')
-rw-r--r--desktop/domino/domino.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/domino/domino.SlackBuild b/desktop/domino/domino.SlackBuild
index aa761dd85711..b40b2a702069 100644
--- a/desktop/domino/domino.SlackBuild
+++ b/desktop/domino/domino.SlackBuild
@@ -1,7 +1,6 @@
#!/bin/sh
# Slackware build script for domino
-
# Written by core (eroc@linuxmail.org)
set -e
@@ -22,6 +21,7 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -31,10 +31,12 @@ cd $PRGNAM-$VERSION
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 \
--enable-shared=yes \
--enable-static=no