diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2011-03-30 16:38:58 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-03-30 22:52:25 -0500 |
commit | aa4deace925e81a400393d2ec504adbdf89860d6 (patch) | |
tree | fb43c7f85db23c07b624da3174e095cd5239f7d4 /development/kdesvn/kdesvn.SlackBuild | |
parent | 782b231b900c2e75f23378fe53e3aa0d4afe60d2 (diff) | |
download | slackbuilds-aa4deace925e81a400393d2ec504adbdf89860d6.tar.gz |
development/kdesvn: Added docbook patch to build on 13.37.
Signed-off-by: Michiel van Wessem <michiel@slackbuilds.org>
Diffstat (limited to 'development/kdesvn/kdesvn.SlackBuild')
-rw-r--r-- | development/kdesvn/kdesvn.SlackBuild | 8 |
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" \ |