diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-06 07:03:24 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-11-06 07:03:24 +0000 |
commit | 677602043111e71425672869b646f571b659d478 (patch) | |
tree | 57e6d0a355078e1e78483182ced9597146878f5c /games-misc/bsd-games | |
parent | adding GRP_STAGE23_USE for the new catalyst (diff) | |
download | gentoo-2-677602043111e71425672869b646f571b659d478.tar.gz gentoo-2-677602043111e71425672869b646f571b659d478.tar.bz2 gentoo-2-677602043111e71425672869b646f571b659d478.zip |
fix wargames to look in the right place for the games (bug 32822)
Diffstat (limited to 'games-misc/bsd-games')
-rw-r--r-- | games-misc/bsd-games/ChangeLog | 5 | ||||
-rw-r--r-- | games-misc/bsd-games/Manifest | 4 | ||||
-rw-r--r-- | games-misc/bsd-games/bsd-games-2.13.ebuild | 11 |
3 files changed, 14 insertions, 6 deletions
diff --git a/games-misc/bsd-games/ChangeLog b/games-misc/bsd-games/ChangeLog index db20236491cf..1288ababbbd6 100644 --- a/games-misc/bsd-games/ChangeLog +++ b/games-misc/bsd-games/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-misc/bsd-games # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.3 2003/10/01 23:10:31 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.4 2003/11/06 07:03:22 mr_bones_ Exp $ + + 05 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> bsd-games-2.13.ebuild: + fix wargames to look in the right place for the games (bug 32822) 01 Oct 2003; Michael Sterrett <mr_bones_@gentoo.org> files/bsdgames_2.13-11.diff: diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest index 8feb2caf5a30..6139414ad831 100644 --- a/games-misc/bsd-games/Manifest +++ b/games-misc/bsd-games/Manifest @@ -1,5 +1,5 @@ -MD5 35c56f1dd98e742f675c0367ff01ed4f ChangeLog 630 -MD5 2ef9a814947d9eb7be4fcecf194f1854 bsd-games-2.13.ebuild 3731 +MD5 ba2bdaad41071486c5c8cc0066457b4b ChangeLog 777 +MD5 c6d0986ba27d53b7f86d15ba3cab8d57 bsd-games-2.13.ebuild 3868 MD5 49c481f8746cf44f3fe40302e6ffd77e files/bsdgames-2.13-gentoo.diff 253 MD5 81250dd8b2e30e4076c1e3de43f669ad files/bsdgames_2.13-11.diff 40228 MD5 582347263c44f4dce3b7d0b7cd8f5cc8 files/config.params-gentoo 1232 diff --git a/games-misc/bsd-games/bsd-games-2.13.ebuild b/games-misc/bsd-games/bsd-games-2.13.ebuild index 533292c7a8d5..fe5b231e27e6 100644 --- a/games-misc/bsd-games/bsd-games-2.13.ebuild +++ b/games-misc/bsd-games/bsd-games-2.13.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.13.ebuild,v 1.1 2003/09/10 18:14:04 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.13.ebuild,v 1.2 2003/11/06 07:03:22 mr_bones_ Exp $ inherit games eutils @@ -16,7 +16,8 @@ DEPEND="sys-libs/ncurses sys-apps/miscfiles sys-apps/less sys-devel/bison - sys-devel/flex" + sys-devel/flex + >=sys-apps/sed-4" # Set GAMES_TO_BUILD variable to whatever you want export GAMES_TO_BUILD=${GAMES_TO_BUILD:="adventure arithmetic atc @@ -30,13 +31,17 @@ src_unpack() { epatch ${FILESDIR}/bsdgames_${PV}-11.diff epatch ${FILESDIR}/bsdgames-${PV}-gentoo.diff + sed -i \ + -e "s:/usr/games:${GAMES_BINDIR}:" wargames/wargames || \ + die "sed wargames failed" + cp ${FILESDIR}/config.params-gentoo config.params echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params } src_compile() { ./configure || die - make OPTIMIZE="${CFLAGS}" || die + emake OPTIMIZE="${CFLAGS}" || die "emake failed" } build_game() { has ${1} ${GAMES_TO_BUILD}; } |