summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-06-03 06:34:38 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-06-03 06:34:38 +0000
commitc2f24dafcad34741ff40032fe9c4cde263d302c1 (patch)
tree1c8cd67a01fb5ff4229bcc8573d08febd243777a /games-fps
parentVersion bump (diff)
downloadhistorical-c2f24dafcad34741ff40032fe9c4cde263d302c1.tar.gz
historical-c2f24dafcad34741ff40032fe9c4cde263d302c1.tar.bz2
historical-c2f24dafcad34741ff40032fe9c4cde263d302c1.zip
use libopenal.so by default instead of libopenal.so.0 (bug #272192)
Package-Manager: portage-2.1.6.11/cvs/Linux i686
Diffstat (limited to 'games-fps')
-rw-r--r--games-fps/openarena/ChangeLog6
-rw-r--r--games-fps/openarena/openarena-0.8.1.ebuild14
2 files changed, 14 insertions, 6 deletions
diff --git a/games-fps/openarena/ChangeLog b/games-fps/openarena/ChangeLog
index e4f31cee56cf..79e7351a3626 100644
--- a/games-fps/openarena/ChangeLog
+++ b/games-fps/openarena/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-fps/openarena
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/ChangeLog,v 1.7 2009/05/28 05:08:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/ChangeLog,v 1.8 2009/06/03 06:34:38 mr_bones_ Exp $
+
+ 03 Jun 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ openarena-0.8.1.ebuild:
+ use libopenal.so by default instead of libopenal.so.0 (bug #272192)
28 May 2009; Michael Sterrett <mr_bones_@gentoo.org>
openarena-0.8.1.ebuild:
diff --git a/games-fps/openarena/openarena-0.8.1.ebuild b/games-fps/openarena/openarena-0.8.1.ebuild
index 4da1c153005d..9172b3792d21 100644
--- a/games-fps/openarena/openarena-0.8.1.ebuild
+++ b/games-fps/openarena/openarena-0.8.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2009 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.ebuild,v 1.2 2009/05/28 05:08:12 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/openarena/openarena-0.8.1.ebuild,v 1.3 2009/06/03 06:34:38 mr_bones_ Exp $
-EAPI=1
+EAPI=2
inherit flag-o-matic versionator games
MY_PV=$(delete_all_version_separators)
@@ -33,14 +33,18 @@ MY_S=${WORKDIR}/${PN}-engine-${PV}
BUILD_DIR=${PN}-build
DIR=${GAMES_DATADIR}/${PN}
-src_unpack() {
- unpack ${A}
+src_prepare() {
cd "${WORKDIR}"
epatch "${FILESDIR}"/${P}-makefile.patch
append-cflags -fno-strict-aliasing # bug #268851
sed -i \
-e "s:%CFLAGS%:${CFLAGS}:g" \
- "${MY_S}"/Makefile || die "seding cflags failed"
+ "${MY_S}"/Makefile \
+ || die "sed failed"
+ sed -i \
+ -e '/ALDRIVER_DEFAULT/s/libopenal.so.0/libopenal.so/' \
+ "${MY_S}"/code/client/snd_openal.c \
+ || die "sed failed"
}
src_compile() {