diff options
author | Matteo Bernardini | 2021-04-08 19:35:50 +0200 |
---|---|---|
committer | Matteo Bernardini | 2021-04-08 19:35:50 +0200 |
commit | afc9e42772de8a69a6c2a028e98dc5ca8d96df52 (patch) | |
tree | 1005b4879f8fb6b3be051d8ac93d1b40220fbecd /desktop/wmakerconf/wmakerconf.SlackBuild | |
parent | a6bf666d73b4dccae0636e4ca04113d5953b956c (diff) | |
download | slackbuilds-2d14715f971a22b9a4c22db06955477bd153b298.tar.gz |
20210408.1 global branch merge.current-20210408.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/wmakerconf/wmakerconf.SlackBuild')
-rw-r--r-- | desktop/wmakerconf/wmakerconf.SlackBuild | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/desktop/wmakerconf/wmakerconf.SlackBuild b/desktop/wmakerconf/wmakerconf.SlackBuild index a971aba9b7..54ee03c70c 100644 --- a/desktop/wmakerconf/wmakerconf.SlackBuild +++ b/desktop/wmakerconf/wmakerconf.SlackBuild @@ -7,12 +7,12 @@ PRGNAM=wmakerconf VERSION=${VERSION:-2.12} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -23,8 +23,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -53,14 +53,13 @@ find -L . \ \( -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 +# Use freebsd patches, as the *BSD seem the only one who still keep maintaining this... +for i in $CWD/patches/* ; do patch -p0 < $i ; done -# Fix linking to X11 libs -sed -e "/^LIBS =/s/$/ -lX11/" -i src/Makefile.in +# Fix linking +sed -e "/^LIBS =/s/$/ -lX11 -lWUtil/" -i src/Makefile.in -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -Wno-deprecated-declarations" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |