diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-10-04 22:40:45 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-10-04 22:40:45 +0000 |
commit | 14606a93dbe9f2f913925f147204b2b89fab45bf (patch) | |
tree | 79ead99c3149a730c69b86b6286a5b7c228e080a /games-strategy | |
parent | Revision bump to include the newer version of the patch as well as to remove ... (diff) | |
download | gentoo-2-14606a93dbe9f2f913925f147204b2b89fab45bf.tar.gz gentoo-2-14606a93dbe9f2f913925f147204b2b89fab45bf.tar.bz2 gentoo-2-14606a93dbe9f2f913925f147204b2b89fab45bf.zip |
Made the for loop ROOT aware and closing bug #140384.
(Portage version: 2.1.2_pre1-r4)
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/freecraft/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/freecraft/freecraft-1.18-r3.ebuild | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/games-strategy/freecraft/ChangeLog b/games-strategy/freecraft/ChangeLog index 43b6d0316fa7..adb3089c9b10 100644 --- a/games-strategy/freecraft/ChangeLog +++ b/games-strategy/freecraft/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/freecraft # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/ChangeLog,v 1.12 2006/05/27 11:17:52 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/ChangeLog,v 1.13 2006/10/04 22:40:45 wolf31o2 Exp $ + + 04 Oct 2006; Chris Gianelloni <wolf31o2@gentoo.org> + freecraft-1.18-r3.ebuild: + Made the for loop ROOT aware and closing bug #140384. 27 May 2006; <Tupone@gentoo.org> +files/freecraft-1.18-gcc41.patch, freecraft-1.18-r3.ebuild: diff --git a/games-strategy/freecraft/freecraft-1.18-r3.ebuild b/games-strategy/freecraft/freecraft-1.18-r3.ebuild index c3f603892e6c..41cedfeb4ff3 100644 --- a/games-strategy/freecraft/freecraft-1.18-r3.ebuild +++ b/games-strategy/freecraft/freecraft-1.18-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/freecraft-1.18-r3.ebuild,v 1.11 2006/05/27 11:17:52 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/freecraft-1.18-r3.ebuild,v 1.12 2006/10/04 22:40:45 wolf31o2 Exp $ inherit eutils games @@ -22,7 +22,7 @@ DEPEND=">=media-libs/libpng-1.2.3 S="${WORKDIR}/${MY_P}" pkg_nofetch() { - einfo "Due to a Ceast and Desist given by Blizzard," + einfo "Due to a Cease and Desist given by Blizzard," einfo "you must obtain the sources for this game yourself." einfo "For more information, please visit: ${HOMEPAGE}" einfo "Also, you'll have to place the files ${A}" @@ -67,7 +67,7 @@ src_install() { local fcmpver="$(best_version games-strategy/freecraft-fcmp)" if [ ! -z "${fcmpver}" ] ; then cd "${D}/${GAMES_DATADIR}/${PN}/data/ccl" - for f in $(grep ${GAMES_DATADIR}/${PN}/data/ccl/ /var/db/pkg/${fcmpver}/CONTENTS) ; do + for f in $(grep ${GAMES_DATADIR}/${PN}/data/ccl/ ${ROOT}/var/db/pkg/${fcmpver}/CONTENTS) ; do [ -d "${f}" ] && continue [ -e "${f}" -a -e "${D}/${f}" ] && rm "${D}/${f}" done |