games/egoboo: Fixed build.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
Erik Hanson 2012-09-12 15:06:22 -05:00
parent 23058f9b85
commit 691c9872e5

View file

@ -7,7 +7,7 @@
PRGNAM=egoboo
VERSION=${VERSION:-2.7.4}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -52,6 +52,9 @@ find . \
sed -i 's/\r//g' *.txt doc/*.txt
sed -i 's|${HOME}/.local|/usr|' game/$PRGNAM.sh
# Fix whatever this problem is
sed -i 's/-lGLU/-lGLU -lm/' game/Makefile.unix
# Compile and install program.
make -C game -f Makefile.unix OPT="$SLKCFLAGS -Wall" PREFIX=/usr
make -C game -f Makefile.unix PREFIX=$PKG/usr install