summaryrefslogtreecommitdiffstats
path: root/desktop/wmakerconf/wmakerconf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/wmakerconf/wmakerconf.SlackBuild')
-rw-r--r--desktop/wmakerconf/wmakerconf.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/desktop/wmakerconf/wmakerconf.SlackBuild b/desktop/wmakerconf/wmakerconf.SlackBuild
index b6ea8d85fe..fd9dd541b1 100644
--- a/desktop/wmakerconf/wmakerconf.SlackBuild
+++ b/desktop/wmakerconf/wmakerconf.SlackBuild
@@ -7,7 +7,7 @@
PRGNAM=wmakerconf
VERSION=${VERSION:-2.12}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -55,6 +55,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for building over windowmaer >= 0.95.2
+# http://sourceforge.net/tracker/?func=detail&aid=3522083&group_id=196469&atid=957581
+patch -p1 < $CWD/wmakerconf-2.12-wmaker-0.95_support.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -73,10 +77,8 @@ make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \