diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-09-14 20:10:50 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-09-14 20:10:50 +0000 |
commit | 4dcba0926482ee8cb5ba3cde03eaf9f04bf02d65 (patch) | |
tree | b116f0d4bf94af8c9cf243260d28a034c0810324 /games-strategy/freecraft | |
parent | x86 stable, thanks JD, bug 382597 (diff) | |
download | gentoo-2-4dcba0926482ee8cb5ba3cde03eaf9f04bf02d65.tar.gz gentoo-2-4dcba0926482ee8cb5ba3cde03eaf9f04bf02d65.tar.bz2 gentoo-2-4dcba0926482ee8cb5ba3cde03eaf9f04bf02d65.zip |
add dep for getting ddate (bug #382905)
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'games-strategy/freecraft')
-rw-r--r-- | games-strategy/freecraft/ChangeLog | 12 | ||||
-rw-r--r-- | games-strategy/freecraft/freecraft-1.18-r3.ebuild | 20 |
2 files changed, 20 insertions, 12 deletions
diff --git a/games-strategy/freecraft/ChangeLog b/games-strategy/freecraft/ChangeLog index f302a6968f72..e6288eb79f50 100644 --- a/games-strategy/freecraft/ChangeLog +++ b/games-strategy/freecraft/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for games-strategy/freecraft -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/ChangeLog,v 1.15 2007/02/17 09:26:11 nyhm Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/ChangeLog,v 1.16 2011/09/14 20:10:50 mr_bones_ Exp $ + + 14 Sep 2011; Michael Sterrett <mr_bones_@gentoo.org> + freecraft-1.18-r3.ebuild: + add dep for getting ddate (bug #382905) + + 14 Sep 2011; Michael Sterrett <mr_bones_@gentoo.org> + freecraft-1.18-r3.ebuild: + add dep on util-linux for bug #382905 17 Feb 2007; Tristan Heaven <nyhm@gentoo.org> freecraft-1.18-r3.ebuild: Fix ROOT abuse, bug #167277 diff --git a/games-strategy/freecraft/freecraft-1.18-r3.ebuild b/games-strategy/freecraft/freecraft-1.18-r3.ebuild index 92e1be224baf..00acb2a0c1f3 100644 --- a/games-strategy/freecraft/freecraft-1.18-r3.ebuild +++ b/games-strategy/freecraft/freecraft-1.18-r3.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2011 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.15 2007/04/04 19:55:13 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecraft/freecraft-1.18-r3.ebuild,v 1.16 2011/09/14 20:10:50 mr_bones_ Exp $ +EAPI=2 inherit eutils games MY_P=${PN}-030311 @@ -16,21 +17,20 @@ IUSE="" RESTRICT="fetch" DEPEND="media-libs/libpng - media-libs/libsdl" + media-libs/libsdl[audio,video] + || ( sys-apps/util-linux[ddate] <sys-apps/util-linux-2.20 )" S=${WORKDIR}/${MY_P} pkg_nofetch() { 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}" + einfo "Use the power of the internet to do this." + einfo "Also, you'll have to place the file ${A}" einfo "into ${DISTDIR}" } -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { sed -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ -e "s:GENTOO_LIBDIR:$(games_get_libdir)/${PN}:" \ "${FILESDIR}"/${PN} > "${T}"/${PN} \ @@ -43,8 +43,8 @@ src_unpack() { } src_compile() { - emake depend || die "depend generation failed" - emake -j1 || die "emake failed" + emake depend || die + emake -j1 || die } src_install() { |