diff options
Diffstat (limited to 'games-sports/billardgl')
-rw-r--r-- | games-sports/billardgl/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/billardgl/billardgl-1.75-r1.ebuild | 12 |
2 files changed, 13 insertions, 7 deletions
diff --git a/games-sports/billardgl/ChangeLog b/games-sports/billardgl/ChangeLog index 13dcc58539b3..89414b9cc1f2 100644 --- a/games-sports/billardgl/ChangeLog +++ b/games-sports/billardgl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-sports/billardgl -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/ChangeLog,v 1.10 2007/02/14 01:40:34 nyhm Exp $ +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/ChangeLog,v 1.11 2009/04/06 05:20:44 mr_bones_ Exp $ + + 06 Apr 2009; Michael Sterrett <mr_bones_@gentoo.org> + billardgl-1.75-r1.ebuild: + EAPI=2; honor CXX 14 Feb 2007; Tristan Heaven <nyhm@gentoo.org> -files/billardgl.png, billardgl-1.75-r1.ebuild: diff --git a/games-sports/billardgl/billardgl-1.75-r1.ebuild b/games-sports/billardgl/billardgl-1.75-r1.ebuild index fd0cd453b6ec..2da02ee18c67 100644 --- a/games-sports/billardgl/billardgl-1.75-r1.ebuild +++ b/games-sports/billardgl/billardgl-1.75-r1.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/billardgl-1.75-r1.ebuild,v 1.10 2007/02/14 01:40:34 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/billardgl/billardgl-1.75-r1.ebuild,v 1.11 2009/04/06 05:20:44 mr_bones_ Exp $ +EAPI=2 inherit eutils games DESCRIPTION="an OpenGL billards game" @@ -22,14 +23,15 @@ DEPEND="x11-libs/libXi S=${WORKDIR}/BillardGL-${PV}/src -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -i \ -e "s:/usr/share/BillardGL/:${GAMES_DATADIR}/${PN}/:" \ Namen.h \ || die "sed Namen.h failed" sed -i \ + -e '/^LINK/s:g++:$(CXX):' \ + -e '/^CXX[[:space:]]/d' \ + -e '/^CC[[:space:]]/d' \ -e '/^CXXFLAGS/s:=.*\(-D.*\)-.*:+=\1:' \ -e "/^LFLAGS/s:=:=${LDFLAGS}:" \ Makefile \ |