summaryrefslogtreecommitdiff
path: root/games/egoboo/egoboo.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2012-09-12 15:06:22 -0500
committerErik Hanson <erik@slackbuilds.org>2012-09-12 15:09:41 -0500
commit691c9872e5f24d545d8d3e582ed743c2bb5210d3 (patch)
treeaad6d68b08ce806f23b35f10f21066dc71725492 /games/egoboo/egoboo.SlackBuild
parent23058f9b85b02eecf23ddd2077cf73d87ce67fcf (diff)
downloadslackbuilds-691c9872e5f24d545d8d3e582ed743c2bb5210d3.tar.gz
games/egoboo: Fixed build.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'games/egoboo/egoboo.SlackBuild')
-rw-r--r--games/egoboo/egoboo.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/egoboo/egoboo.SlackBuild b/games/egoboo/egoboo.SlackBuild
index 46dba3075d..24e62a207f 100644
--- a/games/egoboo/egoboo.SlackBuild
+++ b/games/egoboo/egoboo.SlackBuild
@@ -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