summaryrefslogtreecommitdiffstats
path: root/source/d/distcc/distcc.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/distcc/distcc.SlackBuild')
-rwxr-xr-xsource/d/distcc/distcc.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/d/distcc/distcc.SlackBuild b/source/d/distcc/distcc.SlackBuild
index 24f68aa26..9ba5e1c63 100755
--- a/source/d/distcc/distcc.SlackBuild
+++ b/source/d/distcc/distcc.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=distcc
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -85,6 +85,10 @@ if [ ! "$LIBDIRSUFFIX" = "" ]; then
fi
sed -i "s|usr/lib/gcc|usr/lib${LIBDIRSUFFIX}/gcc|g" update-distcc-symlinks.py
+if [ ! -r configure ]; then
+ ./autogen.sh
+fi
+
./configure \
--prefix=/usr \
--datadir=/usr/share \