summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-03-12 08:01:05 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-03-12 08:01:05 +0000
commit727527a4ecc3b19323ebdc33d5da56d3733f37d4 (patch)
treef0ae1382573f8878752b93c76311b50239b94437 /games-fps
parentbackport FQDN patch from upstream (diff)
downloadhistorical-727527a4ecc3b19323ebdc33d5da56d3733f37d4.tar.gz
historical-727527a4ecc3b19323ebdc33d5da56d3733f37d4.tar.bz2
historical-727527a4ecc3b19323ebdc33d5da56d3733f37d4.zip
Fixing CFLAGS and LDFLAGS issues raised on bug #255453
Package-Manager: portage-2.1.7.17/cvs/Linux i686
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/openarena/ChangeLog7
-rw-r--r--games-fps/openarena/Manifest8
-rw-r--r--games-fps/openarena/files/openarena-0.8.1-makefile.patch286
-rw-r--r--games-fps/openarena/files/openarena-0.8.1-unbundling.patch66
-rw-r--r--games-fps/openarena/openarena-0.8.1-r1.ebuild8
5 files changed, 295 insertions, 80 deletions
diff --git a/games-fps/openarena/ChangeLog b/games-fps/openarena/ChangeLog
index cda6afefd604..2b25e76d9f6c 100644
--- a/games-fps/openarena/ChangeLog
+++ b/games-fps/openarena/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-fps/openarena
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/ChangeLog,v 1.13 2010/03/11 11:21:33 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/ChangeLog,v 1.14 2010/03/12 08:01:05 tupone Exp $
+
+ 12 Mar 2010; Tupone Alfredo <tupone@gentoo.org> openarena-0.8.1-r1.ebuild,
+ files/openarena-0.8.1-makefile.patch,
+ files/openarena-0.8.1-unbundling.patch:
+ Fixing CFLAGS and LDFLAGS issues raised on bug #255453 by Zeev Tarantov
11 Mar 2010; Tupone Alfredo <tupone@gentoo.org>
files/openarena-0.8.1-makefile.patch:
diff --git a/games-fps/openarena/Manifest b/games-fps/openarena/Manifest
index 5cdc5f102386..9e7bc81691cc 100644
--- a/games-fps/openarena/Manifest
+++ b/games-fps/openarena/Manifest
@@ -1,7 +1,7 @@
-AUX openarena-0.8.1-makefile.patch 992 RMD160 c2e219e704e78d414da1aea3e356e55a52c82780 SHA1 81ead814951c45b6d4bab42b693a77a545ee094b SHA256 ee10885e2d6e4d5d19589c05326d8557c93db3207f5dcbe16c7ef7f99d43415a
-AUX openarena-0.8.1-unbundling.patch 7274 RMD160 b09d6bcdabf640947a58a2c98112398dbb3af398 SHA1 13515c565f0956ea9c305553ba6b755d31f9e238 SHA256 4819e0b5531707b0a0224286765bc83065486fc700c2a201df49cf9e7191fb29
+AUX openarena-0.8.1-makefile.patch 8512 RMD160 edbcbaa2f55604ae16b4142edfd24233d1bba843 SHA1 94c4d7ee9ca61be4e9cc4083e053cb178d8c3efb SHA256 7e04a9c34bb3a169d0ecec6911e2b679ba3f3e56b052a713e9c8acfefa47f531
+AUX openarena-0.8.1-unbundling.patch 5905 RMD160 4dcbe1ce8ddb0a694030f265f73ff6a5fb9aa102 SHA1 009701fd4dc8323416818b45b20acb197e37c86e SHA256 ad2965612329e5d817bb3b21b6b1b373cea474f268d85d6b79b1f164ff44f0aa
DIST oa081.zip 318927645 RMD160 9009eaf581ad0bf19296418da1a16e2d43daec16 SHA1 526c39e51d0b53177b02bd490bf830f622f35ad5 SHA256 c96282de8bc2ac5781df58c6adbce4265376e36190af50d7528f51dc739b6d7d
DIST openarena-engine-0.8.1-1.tar.bz2 2951703 RMD160 123e9f70621fd856385c6ca7ad0580b81454d687 SHA1 6de345c0bebd87e1406cb07189537db99a422808 SHA256 430ba9b691c8085b946e004f0cc890995c7f8295498bd8c8ce744293a87274d2
-EBUILD openarena-0.8.1-r1.ebuild 2299 RMD160 dc4d8a6af1dc9e062715cf206f4fe856b62fc8ca SHA1 88d0be1f8af65fbb9528f7c7e2922fb8007a592b SHA256 0ba31ce3e0ee1fb5fdca8b432a7f62e3654ac7b42ac8a3bc246bb7c4d073a73e
-MISC ChangeLog 2534 RMD160 36998aff1ed010d60ba430ebb50da0ef002b0e39 SHA1 b1b36365b4a3f15c44823a8d1b98dce9c75b398f SHA256 581500c93bef0924ebdd45e44305279b85df06a4127cb31c74adfeb13f5f1f09
+EBUILD openarena-0.8.1-r1.ebuild 2170 RMD160 9c664698be7ff5808859c24a71e1bb5b70d80cc0 SHA1 555f884541684bdcbd96589b27edb1fa4e001a21 SHA256 542f142df55703544fc15a7b261288791d9ae14ff6423a54e8ef2d68dc50ee47
+MISC ChangeLog 2768 RMD160 db1eea60621bbd85168f3d81ae5288228788a73c SHA1 375e3117d54c7a8aebeefe3ea34e630336f1a840 SHA256 a76ea910894193b99c3074381feac82ea4789ea8a4b23b548ce3bdfc7ce0bf20
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-fps/openarena/files/openarena-0.8.1-makefile.patch b/games-fps/openarena/files/openarena-0.8.1-makefile.patch
index 9c49b9458a7d..12a7d6d26e1b 100644
--- a/games-fps/openarena/files/openarena-0.8.1-makefile.patch
+++ b/games-fps/openarena/files/openarena-0.8.1-makefile.patch
@@ -17,10 +17,47 @@
- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes \
- -pipe -DUSE_ICON $(shell sdl-config --cflags)
-+ BASE_CFLAGS = %CFLAGS% -DUSE_ICON $(shell sdl-config --cflags)
++ BASE_CFLAGS = -fno-strict-aliasing -DUSE_ICON $(shell sdl-config --cflags)
ifeq ($(USE_OPENAL),1)
BASE_CFLAGS += -DUSE_OPENAL
+@@ -283,29 +283,29 @@
+ SHLIBCFLAGS=-fPIC
+ SHLIBLDFLAGS=-shared $(LDFLAGS)
+
+- THREAD_LDFLAGS=-lpthread
+- LDFLAGS=-ldl -lm
++ THREAD_LIBS=-lpthread
++ LDLIBS=-ldl -lm -lz
+
+- CLIENT_LDFLAGS=$(shell sdl-config --libs) -lGL
++ CLIENT_LIBS=$(shell sdl-config --libs) -lGL -ljpeg
+
+ ifeq ($(USE_OPENAL),1)
+ ifneq ($(USE_OPENAL_DLOPEN),1)
+- CLIENT_LDFLAGS += -lopenal
++ CLIENT_LIBS += -lopenal
+ endif
+ endif
+
+ ifeq ($(USE_CURL),1)
+ ifneq ($(USE_CURL_DLOPEN),1)
+- CLIENT_LDFLAGS += -lcurl
++ CLIENT_LIBS += -lcurl
+ endif
+ endif
+
+ ifeq ($(USE_CODEC_VORBIS),1)
+- CLIENT_LDFLAGS += -lvorbisfile -lvorbis -logg
++ CLIENT_LIBS += -lvorbisfile -lvorbis -logg
+ endif
+
+ ifeq ($(USE_MUMBLE),1)
+- CLIENT_LDFLAGS += -lrt
++ CLIENT_LIBS += -lrt
+ endif
+
+ ifeq ($(USE_LOCAL_HEADERS),1)
@@ -323,7 +322,7 @@
endif
@@ -30,12 +67,255 @@
else # ifeq Linux
-@@ -821,7 +821,7 @@
+@@ -336,7 +336,7 @@
+
+ ifeq ($(PLATFORM),darwin)
+ HAVE_VM_COMPILED=true
+- CLIENT_LDFLAGS=
++ CLIENT_LIBS=
+ OPTIMIZE=
+
+ BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes
+@@ -357,7 +357,7 @@
+ ifeq ($(USE_OPENAL),1)
+ BASE_CFLAGS += -DUSE_OPENAL
+ ifneq ($(USE_OPENAL_DLOPEN),1)
+- CLIENT_LDFLAGS += -framework OpenAL
++ CLIENT_LIBS += -framework OpenAL
+ else
+ BASE_CFLAGS += -DUSE_OPENAL_DLOPEN
+ endif
+@@ -366,7 +366,7 @@
+ ifeq ($(USE_CURL),1)
+ BASE_CFLAGS += -DUSE_CURL
+ ifneq ($(USE_CURL_DLOPEN),1)
+- CLIENT_LDFLAGS += -lcurl
++ CLIENT_LIBS += -lcurl
+ else
+ BASE_CFLAGS += -DUSE_CURL_DLOPEN
+ endif
+@@ -374,7 +374,7 @@
+
+ ifeq ($(USE_CODEC_VORBIS),1)
+ BASE_CFLAGS += -DUSE_CODEC_VORBIS
+- CLIENT_LDFLAGS += -lvorbisfile -lvorbis -logg
++ CLIENT_LIBS += -lvorbisfile -lvorbis -logg
+ endif
+
+ BASE_CFLAGS += -D_THREAD_SAFE=1
+@@ -387,7 +387,7 @@
+ # the file has been modified by each build.
+ LIBSDLMAIN=$(B)/libSDLmain.a
+ LIBSDLMAINSRC=$(LIBSDIR)/macosx/libSDLmain.a
+- CLIENT_LDFLAGS += -framework Cocoa -framework IOKit -framework OpenGL \
++ CLIENT_LIBS += -framework Cocoa -framework IOKit -framework OpenGL \
+ $(LIBSDIR)/macosx/libSDL-1.2.0.dylib
+
+ OPTIMIZE += -ffast-math -falign-loops=16
+@@ -441,7 +441,7 @@
+ ifeq ($(USE_OPENAL_DLOPEN),1)
+ BASE_CFLAGS += -DUSE_OPENAL_DLOPEN
+ else
+- CLIENT_LDFLAGS += $(OPENAL_LDFLAGS)
++ CLIENT_LIBS += $(OPENAL_LDFLAGS)
+ endif
+ endif
+
+@@ -461,8 +461,8 @@
+
+ BINEXT=.exe
+
+- LDFLAGS= -lws2_32 -lwinmm
+- CLIENT_LDFLAGS = -mwindows -lgdi32 -lole32 -lopengl32
++ LDLIBS= -lws2_32 -lwinmm
++ CLIENT_LIBS = -mwindows -lgdi32 -lole32 -lopengl32
+
+ ifeq ($(USE_CURL),1)
+ BASE_CFLAGS += -DUSE_CURL
+@@ -470,9 +470,9 @@
+ ifneq ($(USE_CURL_DLOPEN),1)
+ ifeq ($(USE_LOCAL_HEADERS),1)
+ BASE_CFLAGS += -DCURL_STATICLIB
+- CLIENT_LDFLAGS += $(LIBSDIR)/win32/libcurl.a
++ CLIENT_LIBS += $(LIBSDIR)/win32/libcurl.a
+ else
+- CLIENT_LDFLAGS += $(CURL_LIBS)
++ CLIENT_LIBS += $(CURL_LIBS)
+ endif
+ endif
+ endif
+@@ -480,9 +480,9 @@
+ ifeq ($(USE_CODEC_VORBIS),1)
+ #Sago: Here I get vorbis to compile in Windows:
+ ifeq ($(PLATFORM),mingw32)
+- CLIENT_LDFLAGS += $(LIBSDIR)/win32/libvorbisfile.a $(LIBSDIR)/win32/libvorbis.a $(LIBSDIR)/win32/libogg.a
++ CLIENT_LIBS += $(LIBSDIR)/win32/libvorbisfile.a $(LIBSDIR)/win32/libvorbis.a $(LIBSDIR)/win32/libogg.a
+ else
+- CLIENT_LDFLAGS += -lvorbisfile -lvorbis -logg
++ CLIENT_LIBS += -lvorbisfile -lvorbis -logg
+ endif
+ endif
+
+@@ -496,14 +496,14 @@
+ RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE)
+
+ # libmingw32 must be linked before libSDLmain
+- CLIENT_LDFLAGS += -lmingw32
++ CLIENT_LIBS += -lmingw32
+ ifeq ($(USE_LOCAL_HEADERS),1)
+ BASE_CFLAGS += -I$(SDLHDIR)/include
+- CLIENT_LDFLAGS += $(LIBSDIR)/win32/libSDLmain.a \
++ CLIENT_LIBS += $(LIBSDIR)/win32/libSDLmain.a \
+ $(LIBSDIR)/win32/libSDL.dll.a
+ else
+ BASE_CFLAGS += $(SDL_CFLAGS)
+- CLIENT_LDFLAGS += $(SDL_LIBS)
++ CLIENT_LIBS += $(SDL_LIBS)
+ endif
+
+
+@@ -561,22 +561,22 @@
+ SHLIBCFLAGS=-fPIC
+ SHLIBLDFLAGS=-shared $(LDFLAGS)
+
+- THREAD_LDFLAGS=-lpthread
++ THREAD_LIBS=-lpthread
+ # don't need -ldl (FreeBSD)
+- LDFLAGS=-lm
++ LDLIBS=-lm -lz
+
+- CLIENT_LDFLAGS =
++ CLIENT_LIBS =
+
+- CLIENT_LDFLAGS += $(shell sdl-config --libs) -lGL
++ CLIENT_LIBS += $(shell sdl-config --libs) -lGL
+
+ ifeq ($(USE_OPENAL),1)
+ ifneq ($(USE_OPENAL_DLOPEN),1)
+- CLIENT_LDFLAGS += $(THREAD_LDFLAGS) -lopenal
++ CLIENT_LIBS += $(THREAD_LIBS) -lopenal
+ endif
+ endif
+
+ ifeq ($(USE_CODEC_VORBIS),1)
+- CLIENT_LDFLAGS += -lvorbisfile -lvorbis -logg
++ CLIENT_LIBS += -lvorbisfile -lvorbis -logg
+ endif
+
+ else # ifeq freebsd
+@@ -618,21 +618,21 @@
+ SHLIBCFLAGS=-fPIC
+ SHLIBLDFLAGS=-shared $(LDFLAGS)
+
+- THREAD_LDFLAGS=-lpthread
+- LDFLAGS=-lm
++ THREAD_LIBS=-lpthread
++ LDLIBS=-lm -lz
+
+- CLIENT_LDFLAGS =
++ CLIENT_LIBS =
+
+- CLIENT_LDFLAGS += $(shell sdl-config --libs) -lGL
++ CLIENT_LIBS += $(shell sdl-config --libs) -lGL
+
+ ifeq ($(USE_OPENAL),1)
+ ifneq ($(USE_OPENAL_DLOPEN),1)
+- CLIENT_LDFLAGS += $(THREAD_LDFLAGS) -lossaudio -lopenal
++ CLIENT_LIBS += $(THREAD_LIBS) -lossaudio -lopenal
+ endif
+ endif
+
+ ifeq ($(USE_CODEC_VORBIS),1)
+- CLIENT_LDFLAGS += -lvorbisfile -lvorbis -logg
++ CLIENT_LIBS += -lvorbisfile -lvorbis -logg
+ endif
+
+ else # ifeq openbsd
+@@ -647,11 +647,11 @@
+ ARCH=i386
+ endif
+
+- LDFLAGS=-lm
++ LDLIBS=-lm -lz
+ SHLIBEXT=so
+ SHLIBCFLAGS=-fPIC
+ SHLIBLDFLAGS=-shared $(LDFLAGS)
+- THREAD_LDFLAGS=-lpthread
++ THREAD_LIBS=-lpthread
+
+ BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes
+
+@@ -686,9 +686,9 @@
+ SHLIBCFLAGS=
+ SHLIBLDFLAGS=-shared
+
+- LDFLAGS=-ldl -lm -lgen
++ LDLIBS=-ldl -lm -lgen -lz
+ # FIXME: The X libraries probably aren't necessary?
+- CLIENT_LDFLAGS=-L/usr/X11/$(LIB) $(shell sdl-config --libs) -lGL \
++ CLIENT_LIBS=-L/usr/X11/$(LIB) $(shell sdl-config --libs) -lGL \
+- -lX11 -lXext -lm
++ -lX11 -lXext -lm -ljpeg
+
+ else # ifeq IRIX
+@@ -736,7 +736,7 @@
+ BASE_CFLAGS += -m32
+ LDFLAGS += -m32
+ BASE_CFLAGS += -I/usr/X11/include/NVIDIA
+- CLIENT_LDFLAGS += -L/usr/X11/lib/NVIDIA -R/usr/X11/lib/NVIDIA
++ CLIENT_LIBS += -L/usr/X11/lib/NVIDIA -R/usr/X11/lib/NVIDIA
+ endif
+ endif
+
+@@ -752,12 +752,12 @@
+ SHLIBCFLAGS=-fPIC
+ SHLIBLDFLAGS=-shared $(LDFLAGS)
+
+- THREAD_LDFLAGS=-lpthread
+- LDFLAGS=-lsocket -lnsl -ldl -lm
++ THREAD_LIBS=-lpthread
++ LDLIBS=-lsocket -lnsl -ldl -lm -lz
+
+ BOTCFLAGS=-O0
+
+- CLIENT_LDFLAGS +=$(shell sdl-config --libs) -lGL
++ CLIENT_LIBS +=$(shell sdl-config --libs) -lGL -ljpeg
+
+ else # ifeq sunos
+
+@@ -825,7 +825,7 @@
ifeq ($(USE_INTERNAL_SPEEX),1)
BASE_CFLAGS += -DFLOATING_POINT -DUSE_ALLOCA -I$(SPEEXDIR)/include
else
- CLIENT_LDFLAGS += -lspeex
-+ CLIENT_LDFLAGS += -lspeex -lspeexdsp
++ CLIENT_LIBS += -lspeex -lspeexdsp
endif
endif
+@@ -1421,13 +1421,13 @@
+
+ $(B)/openarena.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ) $(LIBSDLMAIN)
+ $(echo_cmd) "LD $@"
+- $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) $(CLIENT_LDFLAGS) \
+- $(LDFLAGS) $(LIBSDLMAIN)
++ $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) \
++ $(LDFLAGS) $(LIBSDLMAIN) $(CLIENT_LIBS) $(LDLIBS)
+
+ $(B)/openarena-smp.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ_SMP) $(LIBSDLMAIN)
+ $(echo_cmd) "LD $@"
+- $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) $(CLIENT_LDFLAGS) \
+- $(THREAD_LDFLAGS) $(LDFLAGS) $(LIBSDLMAIN)
++ $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) \
++ $(LDFLAGS) $(THREAD_LIBS) $(LIBSDLMAIN) $(CLIENT_LIBS) $(LDLIBS)
+
+ ifneq ($(strip $(LIBSDLMAIN)),)
+ ifneq ($(strip $(LIBSDLMAINSRC)),)
+@@ -1553,7 +1553,7 @@
+
+ $(B)/oa_ded.$(ARCH)$(BINEXT): $(Q3DOBJ)
+ $(echo_cmd) "LD $@"
+- $(Q)$(CC) -o $@ $(Q3DOBJ) $(LDFLAGS)
++ $(Q)$(CC) -o $@ $(Q3DOBJ) $(LDFLAGS) $(LDLIBS)
+
+
+
diff --git a/games-fps/openarena/files/openarena-0.8.1-unbundling.patch b/games-fps/openarena/files/openarena-0.8.1-unbundling.patch
index 34eaac20c4e0..687668e602b8 100644
--- a/games-fps/openarena/files/openarena-0.8.1-unbundling.patch
+++ b/games-fps/openarena/files/openarena-0.8.1-unbundling.patch
@@ -1,71 +1,5 @@
--- openarena-engine-0.8.1/Makefile.old 2010-03-06 21:51:19.000000000 +0100
+++ openarena-engine-0.8.1/Makefile 2010-03-06 21:58:01.000000000 +0100
-@@ -283,9 +283,9 @@
- SHLIBLDFLAGS=-shared $(LDFLAGS)
-
- THREAD_LDFLAGS=-lpthread
-- LDFLAGS=-ldl -lm
-+ LDFLAGS=-ldl -lm -lz
-
-- CLIENT_LDFLAGS=$(shell sdl-config --libs) -lGL
-+ CLIENT_LDFLAGS=$(shell sdl-config --libs) -lGL -ljpeg
-
- ifeq ($(USE_OPENAL),1)
- ifneq ($(USE_OPENAL_DLOPEN),1)
-@@ -560,7 +560,7 @@
-
- THREAD_LDFLAGS=-lpthread
- # don't need -ldl (FreeBSD)
-- LDFLAGS=-lm
-+ LDFLAGS=-lm -lz
-
- CLIENT_LDFLAGS =
-
-@@ -616,7 +616,7 @@
- SHLIBLDFLAGS=-shared $(LDFLAGS)
-
- THREAD_LDFLAGS=-lpthread
-- LDFLAGS=-lm
-+ LDFLAGS=-lm -lz
-
- CLIENT_LDFLAGS =
-
-@@ -644,7 +644,7 @@
- ARCH=i386
- endif
-
-- LDFLAGS=-lm
-+ LDFLAGS=-lm -lz
- SHLIBEXT=so
- SHLIBCFLAGS=-fPIC
- SHLIBLDFLAGS=-shared $(LDFLAGS)
-@@ -683,10 +683,10 @@
- SHLIBCFLAGS=
- SHLIBLDFLAGS=-shared
-
-- LDFLAGS=-ldl -lm -lgen
-+ LDFLAGS=-ldl -lm -lgen -lz
- # FIXME: The X libraries probably aren't necessary?
- CLIENT_LDFLAGS=-L/usr/X11/$(LIB) $(shell sdl-config --libs) -lGL \
-- -lX11 -lXext -lm
-+ -lX11 -lXext -lm -ljpeg
-
- else # ifeq IRIX
-
-@@ -750,11 +750,11 @@
- SHLIBLDFLAGS=-shared $(LDFLAGS)
-
- THREAD_LDFLAGS=-lpthread
-- LDFLAGS=-lsocket -lnsl -ldl -lm
-+ LDFLAGS=-lsocket -lnsl -ldl -lm -lz
-
- BOTCFLAGS=-O0
-
-- CLIENT_LDFLAGS +=$(shell sdl-config --libs) -lGL
-+ CLIENT_LDFLAGS +=$(shell sdl-config --libs) -lGL -ljpeg
-
- else # ifeq sunos
-
@@ -1278,41 +1278,7 @@
$(B)/client/l_script.o \
$(B)/client/l_struct.o \
diff --git a/games-fps/openarena/openarena-0.8.1-r1.ebuild b/games-fps/openarena/openarena-0.8.1-r1.ebuild
index abe6b26aa457..5ab788f0cbe9 100644
--- a/games-fps/openarena/openarena-0.8.1-r1.ebuild
+++ b/games-fps/openarena/openarena-0.8.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/openarena-0.8.1-r1.ebuild,v 1.2 2010/03/10 09:54:08 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/openarena-0.8.1-r1.ebuild,v 1.3 2010/03/12 08:01:05 tupone Exp $
EAPI=2
inherit eutils flag-o-matic versionator games
@@ -39,11 +39,6 @@ src_prepare() {
cd "${WORKDIR}"
epatch "${FILESDIR}"/${P}-makefile.patch \
"${FILESDIR}"/${P}-unbundling.patch
- append-cflags -fno-strict-aliasing # bug #268851
- sed -i \
- -e "s:%CFLAGS%:${CFLAGS}:g" \
- "${MY_S}"/Makefile \
- || die "sed failed"
sed -i \
-e '/ALDRIVER_DEFAULT/s/libopenal.so.0/libopenal.so/' \
"${MY_S}"/code/client/snd_openal.c \
@@ -63,6 +58,7 @@ src_compile() {
cd "${MY_S}"
emake \
+ V=1 \
DEFAULT_BASEDIR="${DIR}" \
BR="${BUILD_DIR}" \
${myopts} \