diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-09 00:27:24 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-12-09 00:27:24 +0000 |
commit | 1dbd6fe1f7fa900e6237576f39fa974d2d44b0eb (patch) | |
tree | abd91a12d7f4b510b2088254b93b20e1914d3256 /eclass/games.eclass | |
parent | EAPI=2; add use-deps for sdl libs; honor CC and LDFLAGS (diff) | |
download | historical-1dbd6fe1f7fa900e6237576f39fa974d2d44b0eb.tar.gz historical-1dbd6fe1f7fa900e6237576f39fa974d2d44b0eb.tar.bz2 historical-1dbd6fe1f7fa900e6237576f39fa974d2d44b0eb.zip |
econf already dies; use base_src_compile instead of rolling our own (less featureful) one.
Diffstat (limited to 'eclass/games.eclass')
-rw-r--r-- | eclass/games.eclass | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass index 044a6d95f7b9..24832f5c4fcd 100644 --- a/eclass/games.eclass +++ b/eclass/games.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.138 2009/07/26 11:05:04 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.139 2009/12/09 00:27:24 mr_bones_ Exp $ # devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org # @@ -43,8 +43,7 @@ egamesconf() { --datadir="${GAMES_DATADIR}" \ --sysconfdir="${GAMES_SYSCONFDIR}" \ --localstatedir="${GAMES_STATEDIR}" \ - "$@" \ - || die "egamesconf failed" + "$@" } gameswrapper() { @@ -139,14 +138,14 @@ games_pkg_setup() { } games_src_configure() { - [[ -x ./configure ]] && { egamesconf || die "egamesconf failed"; } + [[ -x ./configure ]] && { egamesconf; } } games_src_compile() { case ${EAPI:-0} in 0|1) games_src_configure ;; esac - [ -e [Mm]akefile ] && { emake || die "emake failed"; } + base_src_compile make } games_pkg_preinst() { |