Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d7cf58c84cd7d92093795e6beec91083f780abda

commit d7cf58c84cd7d92093795e6beec91083f780abda
Author: Pingax <pin...@frugalware.fr>
Date:   Wed Dec 14 15:07:32 2011 +0100

egoboo-2.8.1-4-i686
* Added patch to fix build

diff --git a/source/games-extra/egoboo/FrugalBuild 
b/source/games-extra/egoboo/FrugalBuild
index 2fc52ea..7a32213 100644
--- a/source/games-extra/egoboo/FrugalBuild
+++ b/source/games-extra/egoboo/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=egoboo
pkgver=2.8.1
-pkgrel=3
+pkgrel=4
pkgdesc="Egoboo is a working cool 3D dungeon crawling game in the spirit of 
nethack"
_F_sourceforge_realname="Linux_Source_Distro"
Finclude sourceforge
@@ -13,14 +13,17 @@ groups=('games-extra')
archs=('i686' 'x86_64')
#source=($source/${pkgname}-$pkgver.tar.gz \
#       $source/${pkgname}-data-$pkgver.tar.gz)
-sha1sums=('c0fdfba4bbefe04f5666dab3c1b25db867fb3663')
+source=($source makefile.patch)
+sha1sums=('c0fdfba4bbefe04f5666dab3c1b25db867fb3663' \
+          'ebcdaa58f2128c525ea5bbd32a8a6efbb6512efe')
_F_desktop_name="Egoboo"
_F_desktop_categories="Game"
_F_desktop_icon="/usr/share/pixmaps/egoboo.ico"
build()
{
Fcd $pkgname-$pkgver/src
-       Fsed 'egoboo-2.x' 'egoboo' game/platform/file_linux.c
+       Fpatchall
+    Fsed 'egoboo-2.x' 'egoboo' game/platform/file_linux.c
Fsed '/share/games/' '/share/' game/platform/file_linux.c
Fsed '/etc/' '/share/' game/platform/file_linux.c
Fmake
diff --git a/source/games-extra/egoboo/makefile.patch 
b/source/games-extra/egoboo/makefile.patch
new file mode 100644
index 0000000..586c510
--- /dev/null
+++ b/source/games-extra/egoboo/makefile.patch
@@ -0,0 +1,11 @@
+--- src/game/Makefile.orig     2011-12-14 15:00:21.907724126 +0100
++++ src/game/Makefile  2011-12-14 15:00:47.833724109 +0100
+@@ -34,7 +34,7 @@
+
+ CC      := gcc
+ INC     := -I. -I.. -I../enet/include ${SDLCONF_I} -I./extensions 
-I./file_formats -I./platform
+-LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU 
-lSDL_image -lphysfs -lenet
++LDFLAGS := ${SDLCONF_L} -L../enet/lib -lSDL_ttf -lSDL_mixer -lGL -lGLU 
-lSDL_image -lphysfs -lenet -lm
+
+ # use different options if the environmental variable PREFIX is defined
+ ifdef ($(PREFIX),"")
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to