summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-24 23:26:49 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-05-24 23:26:49 +0000
commit37f386ab320c345f22f9a06532709077cf87fb76 (patch)
tree88f92f4f544afbe846b0cdd74163868503b81884 /games-fps/quake3
parentAdd ~x86-fbsd keyword. (diff)
downloadgentoo-2-37f386ab320c345f22f9a06532709077cf87fb76.tar.gz
gentoo-2-37f386ab320c345f22f9a06532709077cf87fb76.tar.bz2
gentoo-2-37f386ab320c345f22f9a06532709077cf87fb76.zip
Add patch by Robert Sebastian Gerus to build on Gentoo/FreeBSD (bug #134147). Add ~x86-fbsd keyword.
(Portage version: 2.1_rc2-r2)
Diffstat (limited to 'games-fps/quake3')
-rw-r--r--games-fps/quake3/ChangeLog7
-rw-r--r--games-fps/quake3/files/quake3-1.34_alpha778-gfbsd.patch20
-rw-r--r--games-fps/quake3/quake3-1.34_alpha778.ebuild7
3 files changed, 31 insertions, 3 deletions
diff --git a/games-fps/quake3/ChangeLog b/games-fps/quake3/ChangeLog
index 8d5aa85b2ac4..ea15508d0f3f 100644
--- a/games-fps/quake3/ChangeLog
+++ b/games-fps/quake3/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for games-fps/quake3
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.39 2006/05/23 22:04:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/ChangeLog,v 1.40 2006/05/24 23:26:49 flameeyes Exp $
+
+ 24 May 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/quake3-1.34_alpha778-gfbsd.patch, quake3-1.34_alpha778.ebuild:
+ Add patch by Robert Sebastian Gerus to build on Gentoo/FreeBSD (bug
+ #134147). Add ~x86-fbsd keyword.
23 May 2006; Chris Gianelloni <wolf31o2@gentoo.org>
quake3-1.34_alpha778.ebuild, quake3-9999.ebuild:
diff --git a/games-fps/quake3/files/quake3-1.34_alpha778-gfbsd.patch b/games-fps/quake3/files/quake3-1.34_alpha778-gfbsd.patch
new file mode 100644
index 000000000000..d8a7e9c7df39
--- /dev/null
+++ b/games-fps/quake3/files/quake3-1.34_alpha778-gfbsd.patch
@@ -0,0 +1,20 @@
+--- quake3-1.34_SVN778M/Makefile.orig 2006-05-23 21:40:22 +0200
++++ quake3-1.34_SVN778M/Makefile 2006-05-23 21:41:04 +0200
+@@ -432,7 +432,7 @@
+ endif
+
+ ifeq ($(USE_SDL),1)
+- BASE_CFLAGS += $(shell sdl11-config --cflags) -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1
++ BASE_CFLAGS += $(shell sdl-config --cflags) -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1
+ endif
+
+ ifeq ($(ARCH),axp)
+@@ -463,7 +463,7 @@
+ CLIENT_LDFLAGS =
+
+ ifeq ($(USE_SDL),1)
+- CLIENT_LDFLAGS += $(shell sdl11-config --libs)
++ CLIENT_LDFLAGS += $(shell sdl-config --libs)
+ else
+ CLIENT_LDFLAGS += -L/usr/X11R6/$(LIB) -lGL -lX11 -lXext -lXxf86dga -lXxf86vm
+ endif
diff --git a/games-fps/quake3/quake3-1.34_alpha778.ebuild b/games-fps/quake3/quake3-1.34_alpha778.ebuild
index 98065da37138..58c3c7d3829c 100644
--- a/games-fps/quake3/quake3-1.34_alpha778.ebuild
+++ b/games-fps/quake3/quake3-1.34_alpha778.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-1.34_alpha778.ebuild,v 1.3 2006/05/23 22:04:19 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/quake3/quake3-1.34_alpha778.ebuild,v 1.4 2006/05/24 23:26:49 flameeyes Exp $
# quake3-9999 -> latest svn
# quake3-9999.REV -> use svn REV
@@ -33,7 +33,7 @@ HOMEPAGE="http://icculus.org/quake3/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
IUSE="dedicated opengl teamarena"
RDEPEND="opengl? (
@@ -65,6 +65,9 @@ src_unpack() {
subversion_src_unpack
else
unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${P}-gfbsd.patch"
fi
}