summaryrefslogtreecommitdiff
path: root/libraries/allegro/allegro.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-05-12 17:40:18 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-12 17:40:18 +0200
commit8e3a359277d81faa841815ee2e4b87a08ea57d56 (patch)
tree4f56d378b70c03c2280f857e9037bc3a41b76abb /libraries/allegro/allegro.SlackBuild
parentcde0c1e7eca15054d8a591df4e588e2732f0664a (diff)
downloadslackbuilds-8e3a359277d81faa841815ee2e4b87a08ea57d56.tar.gz
libraries/allegro: Updated for version 4.2.2
Diffstat (limited to 'libraries/allegro/allegro.SlackBuild')
-rw-r--r--libraries/allegro/allegro.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/libraries/allegro/allegro.SlackBuild b/libraries/allegro/allegro.SlackBuild
index fc7c9cde54..546eb4b5df 100644
--- a/libraries/allegro/allegro.SlackBuild
+++ b/libraries/allegro/allegro.SlackBuild
@@ -8,7 +8,7 @@
# on modern (>=i586) machines. Hence no CFLAGS and the i586 ARCH.
PRGNAM=allegro
-VERSION=4.2.1
+VERSION=4.2.2
ARCH=${ARCH:-i586}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -19,7 +19,7 @@ OUTPUT=${OUTPUT:-/tmp}
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP
+cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || exit 1
cd $PRGNAM-$VERSION
@@ -36,6 +36,8 @@ chmod -R u+w,go+r-w,a-s .
--enable-static=no \
|| exit 1
+sed -i "s/fnstsw %eax/fnstsw %ax/" src/i386/icpus.s
+
make || exit 1
make install DESTDIR=$PKG || exit 1
make install-gzipped-man DESTDIR=$PKG || exit 1