mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
games/egoboo: Fixed build.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
parent
23058f9b85
commit
691c9872e5
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PRGNAM=egoboo
|
PRGNAM=egoboo
|
||||||
VERSION=${VERSION:-2.7.4}
|
VERSION=${VERSION:-2.7.4}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -52,6 +52,9 @@ find . \
|
||||||
sed -i 's/\r//g' *.txt doc/*.txt
|
sed -i 's/\r//g' *.txt doc/*.txt
|
||||||
sed -i 's|${HOME}/.local|/usr|' game/$PRGNAM.sh
|
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.
|
# Compile and install program.
|
||||||
make -C game -f Makefile.unix OPT="$SLKCFLAGS -Wall" PREFIX=/usr
|
make -C game -f Makefile.unix OPT="$SLKCFLAGS -Wall" PREFIX=/usr
|
||||||
make -C game -f Makefile.unix PREFIX=$PKG/usr install
|
make -C game -f Makefile.unix PREFIX=$PKG/usr install
|
||||||
|
|
Loading…
Reference in a new issue