aboutsummaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-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 2985991093a4..47d683205188 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 82cb3f4ce767..51a6e6cd19d5 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 8b2cc477fd1c..da3713820c32 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