diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-06-03 06:34:38 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-06-03 06:34:38 +0000 |
commit | b619f0481695002bb51a94ca50ef4911d90e6453 (patch) | |
tree | 6c406180a267abaf49a1d2668a2bfffdbff26b1b /games-fps/openarena | |
parent | Version bump (diff) | |
download | gentoo-2-b619f0481695002bb51a94ca50ef4911d90e6453.tar.gz gentoo-2-b619f0481695002bb51a94ca50ef4911d90e6453.tar.bz2 gentoo-2-b619f0481695002bb51a94ca50ef4911d90e6453.zip |
use libopenal.so by default instead of libopenal.so.0 (bug #272192)
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-fps/openarena')
-rw-r--r-- | games-fps/openarena/ChangeLog | 6 | ||||
-rw-r--r-- | games-fps/openarena/openarena-0.8.1.ebuild | 14 |
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() { |