diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2007-01-08 17:55:34 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2007-01-08 17:55:34 +0000 |
commit | fef0aedbb6f8762fd420c6adedfad5ef42fdb4de (patch) | |
tree | 5c32cfbb475a2688ef8ecffb744af092ab6bb29a /games-board/grhino | |
parent | New revision for the amd64 installer and digest fix, bug #160817 (diff) | |
download | gentoo-2-fef0aedbb6f8762fd420c6adedfad5ef42fdb4de.tar.gz gentoo-2-fef0aedbb6f8762fd420c6adedfad5ef42fdb4de.tar.bz2 gentoo-2-fef0aedbb6f8762fd420c6adedfad5ef42fdb4de.zip |
Defaulting to use gtp if neither gnome or gtp are specified
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-board/grhino')
-rw-r--r-- | games-board/grhino/ChangeLog | 5 | ||||
-rw-r--r-- | games-board/grhino/grhino-0.16.0.ebuild | 21 |
2 files changed, 13 insertions, 13 deletions
diff --git a/games-board/grhino/ChangeLog b/games-board/grhino/ChangeLog index 9a47d459d636..b3f06c9c4231 100644 --- a/games-board/grhino/ChangeLog +++ b/games-board/grhino/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-board/grhino # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.2 2007/01/08 07:16:16 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.3 2007/01/08 17:55:34 tupone Exp $ + + 08 Jan 2007; <tupone@gentoo.org> grhino-0.16.0.ebuild: + Defaulting to use gtp if neither gnome or gtp are specified 08 Jan 2007; <tupone@gentoo.org> grhino-0.16.0.ebuild: Adding more errors handling diff --git a/games-board/grhino/grhino-0.16.0.ebuild b/games-board/grhino/grhino-0.16.0.ebuild index 20f16c46999f..e90369bcbcc7 100644 --- a/games-board/grhino/grhino-0.16.0.ebuild +++ b/games-board/grhino/grhino-0.16.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.2 2007/01/08 07:16:16 tupone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.3 2007/01/08 17:55:34 tupone Exp $ inherit eutils games @@ -15,18 +15,15 @@ IUSE="gnome gtp" DEPEND="gnome? ( =gnome-base/libgnomeui-2* )" -pkg_setup() { - if ! ( use gnome || use gtp ); then - die "Aborting build. You you have to specify gnome or gtp use flags" - fi - games_pkg_setup -} - src_compile() { - egamesconf \ - $(use_enable gnome) \ - $(use_enable gtp) \ - || die "egamesconf failed" + if use gnome || use gtp; then + egamesconf \ + $(use_enable gnome) \ + $(use_enable gtp) \ + || die "egamesconf failed" + else + egamesconf --enable-gtp || die "egamesconf failed" + fi emake || die "emake failed" } |