From c2f24dafcad34741ff40032fe9c4cde263d302c1 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Wed, 3 Jun 2009 06:34:38 +0000 Subject: use libopenal.so by default instead of libopenal.so.0 (bug #272192) Package-Manager: portage-2.1.6.11/cvs/Linux i686 --- games-fps/openarena/ChangeLog | 6 +++++- games-fps/openarena/openarena-0.8.1.ebuild | 14 +++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) (limited to 'games-fps') 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 + openarena-0.8.1.ebuild: + use libopenal.so by default instead of libopenal.so.0 (bug #272192) 28 May 2009; Michael Sterrett 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() { -- cgit v1.2.3-65-gdbad