summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Schmidt <lems@gmx.net>2018-06-15 23:17:46 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-17 19:13:23 +0100
commit87c45f40b72f9c236b75a4896f584a90a0bb10c9 (patch)
tree964ed7102985fe6a3e9c55b38faee8a432f0bd40
parent8a23ec9c5e15e173aeeae61c28d7d94a73103252 (diff)
downloadslackbuilds-87c45f40b72f9c236b75a4896f584a90a0bb10c9.tar.gz
desktop/mcwm: Update cflags.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--desktop/mcwm/mcwm.SlackBuild14
-rw-r--r--desktop/mcwm/mcwm.info4
-rw-r--r--desktop/mcwm/slack-desc2
3 files changed, 10 insertions, 10 deletions
diff --git a/desktop/mcwm/mcwm.SlackBuild b/desktop/mcwm/mcwm.SlackBuild
index 2985991093..47d6832051 100644
--- a/desktop/mcwm/mcwm.SlackBuild
+++ b/desktop/mcwm/mcwm.SlackBuild
@@ -30,7 +30,7 @@ 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
@@ -41,17 +41,17 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-fPIC"
+ SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
else
- SLKCFLAGS=""
+ SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
@@ -71,7 +71,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p "$PKG/usr/bin" "$PKG/usr/man/man1"
-make PREFIX="$PKG/usr" install
+CFLAGS="$SLKCFLAGS" make PREFIX="$PKG/usr" install
install -m 0755 -D scripts/9icon $PKG/usr/bin/9icon
install -m 0755 -D scripts/mcicon $PKG/usr/bin/mcicon
diff --git a/desktop/mcwm/mcwm.info b/desktop/mcwm/mcwm.info
index 82cb3f4ce7..51a6e6cd19 100644
--- a/desktop/mcwm/mcwm.info
+++ b/desktop/mcwm/mcwm.info
@@ -1,7 +1,7 @@
PRGNAM="mcwm"
VERSION="20130209_2"
-HOMEPAGE="http://hack.org/mc/projects/mcwm"
-DOWNLOAD="http://hack.org/mc/projects/mcwm/mcwm-20130209-2.tar.bz2"
+HOMEPAGE="https://hack.org/mc/projects/mcwm"
+DOWNLOAD="https://hack.org/mc/projects/mcwm/mcwm-20130209-2.tar.bz2"
MD5SUM="d36a625c966067c80cf9f14609a21921"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
diff --git a/desktop/mcwm/slack-desc b/desktop/mcwm/slack-desc
index 8b2cc477fd..da3713820c 100644
--- a/desktop/mcwm/slack-desc
+++ b/desktop/mcwm/slack-desc
@@ -16,4 +16,4 @@ mcwm:
mcwm: In mcwm all functions are available from the keyboard but a pointing
mcwm: device can be used for move, resize and raise/lower.
mcwm:
-mcwm: Homepage: http://hack.org/mc/projects/mcwm
+mcwm: Homepage: https://hack.org/mc/projects/mcwm