summaryrefslogtreecommitdiff
path: root/development/kdesvn/kdesvn.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/kdesvn/kdesvn.SlackBuild')
-rw-r--r--development/kdesvn/kdesvn.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/development/kdesvn/kdesvn.SlackBuild b/development/kdesvn/kdesvn.SlackBuild
index 709e0da8d3..d9b4b336cc 100644
--- a/development/kdesvn/kdesvn.SlackBuild
+++ b/development/kdesvn/kdesvn.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for kdesvn
-# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom
+# Copyright 2007-2011 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,6 +31,7 @@ if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
+ # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -69,7 +70,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir build
+# Patch for the right docbook version.
+patch -p1 < $CWD/nl_docbook_dtd.patch
+
+mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \