summaryrefslogtreecommitdiffstats
path: root/kdmtheme
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2008-01-09 22:43:35 +0000
committer Eric Hameleers <alien@slackware.com>2008-01-09 22:43:35 +0000
commit39d4b73189715d450940b547e97d2ce8d44ac830 (patch)
tree5eae6679ed1d230e366401eae9e73251449c9ad7 /kdmtheme
parentbbf9a8723bf8973306fb8f003753d648abffd8ad (diff)
downloadasb-39d4b73189715d450940b547e97d2ce8d44ac830.tar.gz
asb-39d4b73189715d450940b547e97d2ce8d44ac830.tar.xz
Fix compilation errors
Diffstat (limited to 'kdmtheme')
-rwxr-xr-xkdmtheme/build/kdmtheme.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/kdmtheme/build/kdmtheme.SlackBuild b/kdmtheme/build/kdmtheme.SlackBuild
index 9a38a89b..6b5fa223 100755
--- a/kdmtheme/build/kdmtheme.SlackBuild
+++ b/kdmtheme/build/kdmtheme.SlackBuild
@@ -161,6 +161,11 @@ chmod -R u+w,go+r-w,a-s .
# Compilation:
echo Building ...
+# Nice hack from Gohanz (slacky.eu) to allow compilation of kdmtheme-1.2.2
+# on Slackware 12.0:
+ACVER=`whereis aclocal- 2>&1|sed -e 's#.*bin/aclocal-\([0-9.]*\).*#\1#'`
+sed -i -e "s/am__api_version=\"1.7\"/am__api_version=\"$ACVER\"/" configure
+
LDFLAGS="$SLKLDFLAGS" \
CFLAGS="$SLKCFLAGS" \
./configure --prefix=$(kde-config --prefix) \