diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-01-19 06:13:47 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-01-19 06:13:47 +0000 |
commit | 7192b58366868c29731c3c0383fef68000c043e6 (patch) | |
tree | 413b7e6d4a4e88253eee59a731631d60cdc0124b /games-misc | |
parent | Version bump, drop old. (diff) | |
download | historical-7192b58366868c29731c3c0383fef68000c043e6.tar.gz historical-7192b58366868c29731c3c0383fef68000c043e6.tar.bz2 historical-7192b58366868c29731c3c0383fef68000c043e6.zip |
Honor CFLAGS, CXXFLAGS, CC and CXX; fix perms on GAMES_STATEDIR
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-misc')
-rw-r--r-- | games-misc/bsd-games/ChangeLog | 6 | ||||
-rw-r--r-- | games-misc/bsd-games/Manifest | 4 | ||||
-rw-r--r-- | games-misc/bsd-games/bsd-games-2.17-r4.ebuild | 21 |
3 files changed, 20 insertions, 11 deletions
diff --git a/games-misc/bsd-games/ChangeLog b/games-misc/bsd-games/ChangeLog index c67f5b69b11e..6e9e1bdcc262 100644 --- a/games-misc/bsd-games/ChangeLog +++ b/games-misc/bsd-games/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-misc/bsd-games # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.42 2010/01/18 11:11:02 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/ChangeLog,v 1.43 2010/01/19 06:13:47 mr_bones_ Exp $ + + 19 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org> + bsd-games-2.17-r4.ebuild: + Honor CFLAGS, CXXFLAGS, CC and CXX; fix perms on GAMES_STATEDIR 18 Jan 2010; Tupone Alfredo <tupone@gentoo.org> bsd-games-2.17-r4.ebuild: Documentation installed in /usr/share/doc/${PF} diff --git a/games-misc/bsd-games/Manifest b/games-misc/bsd-games/Manifest index 514cb118d2f9..e61266d4e27c 100644 --- a/games-misc/bsd-games/Manifest +++ b/games-misc/bsd-games/Manifest @@ -10,6 +10,6 @@ DIST bsd-games-2.17.tar.gz 2563311 RMD160 a8f9c829bb09dfa071ecafbd6cb15560dba888 DIST bsdgames_2.17-16.diff.gz 15897 RMD160 d40d9825b042deedff5ecb91f9ff3e4da43cda1b SHA1 4e68aec31f095dd10332e138f51c8fa541658fdf SHA256 e97f561ff2253bc4da422082ca1de0575855eb48cacbcabc83a3f8436992c683 DIST bsdgames_2.17-7.diff.gz 12530 RMD160 4c213632111ac8035058214889fd9229723b9785 SHA1 e19b34faeea0941395e07d78e74939837f5aa70c SHA256 41b4b99ae96f1b42beb37818f377cc194ab4146fe845818e8d29663d4f52ff88 EBUILD bsd-games-2.17-r3.ebuild 4123 RMD160 8543e73bfab8bfdff9bfe8d9d328bc2c75be143f SHA1 996da5ed1c330d858537c0ecf971a9e4b75a554e SHA256 e74c484319161d0980ff2881a913003d4138344bd94fcac30931ec97caa0514e -EBUILD bsd-games-2.17-r4.ebuild 4044 RMD160 8f849228eb5f4c302a20f3213dc74a4e87fd5a9e SHA1 21c4257d2b7fdf529b660369f02a71332ad31fe4 SHA256 ee7f38d4ed5186336c368f303a87cbec75320712de5ccbdb2bd92061cabe6aed -MISC ChangeLog 6032 RMD160 a38aaf8be226f3ae3d8c26c397c37fed6250c7b7 SHA1 aead8417e84dee45c1c2045b0d461584c483b647 SHA256 0b55fdaf9ccce748c0556d99685d370b2e46ca75c011b042c39341b843411bcc +EBUILD bsd-games-2.17-r4.ebuild 4149 RMD160 9dd350f0be0f4f43df93706135bbc7a2fede5819 SHA1 0bd3d4555272a8ec5c6ff8b2aaa3a1c10f23a1b0 SHA256 4659196a9507549d1d49c37c045ae3dfb28ae6f733b9dd3943454510c2156ae8 +MISC ChangeLog 6185 RMD160 ff869b0f6e5d406c8990f98f1f8b12824375241e SHA1 30ad7ebb8c0dc788d9db3feade7bb0111dc4da54 SHA256 54b691c78ff86eb6dccde53ca3965079833a6f7356dad8a726db6830d4ba4563 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-misc/bsd-games/bsd-games-2.17-r4.ebuild b/games-misc/bsd-games/bsd-games-2.17-r4.ebuild index 60f9743f3764..243c704d604f 100644 --- a/games-misc/bsd-games/bsd-games-2.17-r4.ebuild +++ b/games-misc/bsd-games/bsd-games-2.17-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r4.ebuild,v 1.6 2010/01/18 20:27:29 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-misc/bsd-games/bsd-games-2.17-r4.ebuild,v 1.7 2010/01/19 06:13:47 mr_bones_ Exp $ EAPI=2 inherit eutils games @@ -46,16 +46,20 @@ src_prepare() { wargames/wargames \ || die "sed wargames failed" + sed -i \ + -e '/^CC :=/d' \ + -e '/^CXX :=/d' \ + -e '/^CFLAGS/s/OPTIMIZE/CFLAGS/' \ + -e '/^CXXFLAGS/s/OPTIMIZE/CXXFLAGS/' \ + Makeconfig.in \ + || die 'sed failed' + cp "${FILESDIR}"/config.params-gentoo config.params echo bsd_games_cfg_usrlibdir=\"$(games_get_libdir)\" >> ./config.params echo bsd_games_cfg_build_dirs=\"${GAMES_TO_BUILD}\" >> ./config.params echo bsd_games_cfg_docdir=\"/usr/share/doc/${PF}\" >> ./config.params } -src_compile() { - emake OPTIMIZE="${CFLAGS}" || die "emake failed" -} - src_test() { addwrite /dev/full emake -j1 check || die "make check failed" @@ -72,7 +76,7 @@ do_statefile() { src_install() { dodir "${GAMES_BINDIR}" "${GAMES_STATEDIR}" /usr/share/man/man{1,6} - make DESTDIR="${D}" install || die "make install failed" + emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS BUGS ChangeLog ChangeLog.0 \ README PACKAGING SECURITY THANKS TODO YEAR2000 @@ -98,8 +102,6 @@ src_install() { build_game sail && do_statefile saillog build_game snake && do_statefile snake.log && do_statefile snakerawscores build_game tetris && do_statefile tetris-bsd.scores - # state dirs - chmod -R ug+rw "${D}/${GAMES_STATEDIR}"/* # extra docs build_game atc && { docinto atc ; dodoc atc/BUGS; } @@ -117,4 +119,7 @@ src_install() { prepalldocs prepgamesdirs + + # state dirs + chmod -R ug+rw "${D}/${GAMES_STATEDIR}"/* } |