summaryrefslogtreecommitdiff
path: root/desktop/wmii/wmii.SlackBuild
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2012-05-13 08:55:24 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-05-13 08:55:24 -0400
commit53265df3b43afe2262280f57d8deded4cf323565 (patch)
treea54fe8248bbcecda4252b69e35ec53698aade1f3 /desktop/wmii/wmii.SlackBuild
parent7ea37cd0c5ad405a75eb479a5d0841d3f954eb92 (diff)
downloadslackbuilds-53265df3b43afe2262280f57d8deded4cf323565.tar.gz
desktop/wmii: Fixed typo that kept our CFLAGS from being applied.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/wmii/wmii.SlackBuild')
-rw-r--r--desktop/wmii/wmii.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/desktop/wmii/wmii.SlackBuild b/desktop/wmii/wmii.SlackBuild
index eb9e63d16b..e67ef77cc1 100644
--- a/desktop/wmii/wmii.SlackBuild
+++ b/desktop/wmii/wmii.SlackBuild
@@ -26,15 +26,13 @@
PRGNAM=wmii
SRCNAM=wmii+ixp
VERSION=3.9.2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -79,19 +77,19 @@ patch -p1 < $CWD/wmii-3.9.2-config_mk.diff
patch -p1 < $CWD/wmii-3.9.2-mk_hdr_mk.diff
make \
- OPT="$SLKCLAGS" \
+ OPT="$SLKCFLAGS" \
PREFIX=/usr \
MAN=/usr/man \
ETC=/etc \
LIBDIRSUFFIX=${LIBDIRSUFFIX}
-
+
make install \
- OPT="$SLKCLAGS" \
+ OPT="$SLKCFLAGS" \
PREFIX=$PKG/usr \
MAN=$PKG/usr/man \
ETC=$PKG/etc \
LIBDIRSUFFIX=${LIBDIRSUFFIX}
-
+
# Add wmii to xwmconfig's list...
install -D -m 0755 $CWD/xinitrc.wmii $PKG/etc/X11/xinit/xinitrc.wmii
# ...and the required startup script