diff options
author | 2004-09-04 20:40:00 +0000 | |
---|---|---|
committer | 2004-09-04 20:40:00 +0000 | |
commit | 1ff513591302b2b7b93597af451178110bfba3d3 (patch) | |
tree | 131d84394261283891710401ea3868ef1cbfa01f /games-action/atanks/atanks-1.1.0.ebuild | |
parent | Version bump to 0.13. closes #45884 (Manifest recommit) (diff) | |
download | gentoo-2-1ff513591302b2b7b93597af451178110bfba3d3.tar.gz gentoo-2-1ff513591302b2b7b93597af451178110bfba3d3.tar.bz2 gentoo-2-1ff513591302b2b7b93597af451178110bfba3d3.zip |
applied gcc34 patch
Diffstat (limited to 'games-action/atanks/atanks-1.1.0.ebuild')
-rw-r--r-- | games-action/atanks/atanks-1.1.0.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/games-action/atanks/atanks-1.1.0.ebuild b/games-action/atanks/atanks-1.1.0.ebuild index 36e32ce41692..67aadf2c423e 100644 --- a/games-action/atanks/atanks-1.1.0.ebuild +++ b/games-action/atanks/atanks-1.1.0.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-1.1.0.ebuild,v 1.4 2004/09/04 09:11:53 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-1.1.0.ebuild,v 1.5 2004/09/04 20:40:00 morfic Exp $ -inherit games +inherit games gcc DATA_DIR="${GAMES_DATADIR}/${PN}" DESCRIPTION="Worms and Scorched Earth-like game" @@ -25,6 +25,11 @@ S="${WORKDIR}/${PN}" src_unpack() { unpack ${A} cd ${S} + #apply both patches to compile with gcc-3.4.0 closing bug #49457 + if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ] + then + epatch ${FILESDIR}/atanks-gcc34.patch + fi sed -i \ -e "s:DATA_DIR=.*:DATA_DIR=\\\\\"${DATA_DIR}\\\\\":" src/Makefile || \ |