diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-05-11 00:57:01 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-05-11 00:57:01 +0000 |
commit | cfecc2ee37888e685e741fc8d13a20f9d29fb619 (patch) | |
tree | d60211ecaacd642b6c20892ad9a791f15b635321 /games-emulation/darcnes | |
parent | prune extra ebuilds (Manifest recommit) (diff) | |
download | gentoo-2-cfecc2ee37888e685e741fc8d13a20f9d29fb619.tar.gz gentoo-2-cfecc2ee37888e685e741fc8d13a20f9d29fb619.tar.bz2 gentoo-2-cfecc2ee37888e685e741fc8d13a20f9d29fb619.zip |
again with the use fun and games
Diffstat (limited to 'games-emulation/darcnes')
-rw-r--r-- | games-emulation/darcnes/ChangeLog | 5 | ||||
-rw-r--r-- | games-emulation/darcnes/darcnes-0401-r2.ebuild | 13 |
2 files changed, 11 insertions, 7 deletions
diff --git a/games-emulation/darcnes/ChangeLog b/games-emulation/darcnes/ChangeLog index e88ebbd8858a..4d7073b94c31 100644 --- a/games-emulation/darcnes/ChangeLog +++ b/games-emulation/darcnes/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-emulation/darcnes # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/ChangeLog,v 1.4 2004/05/10 21:40:01 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/ChangeLog,v 1.5 2004/05/11 00:57:01 mr_bones_ Exp $ + + 10 May 2004; Michael Sterrett <mr_bones_@gentoo.org> darcnes-0401-r2.ebuild: + again with the use fun and games 10 May 2004; Michael Sterrett <mr_bones_@gentoo.org> darcnes-0401-r2.ebuild: make X optional for the svgalib lovers. diff --git a/games-emulation/darcnes/darcnes-0401-r2.ebuild b/games-emulation/darcnes/darcnes-0401-r2.ebuild index bb08aca6fb1a..759235d1bd12 100644 --- a/games-emulation/darcnes/darcnes-0401-r2.ebuild +++ b/games-emulation/darcnes/darcnes-0401-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/darcnes-0401-r2.ebuild,v 1.2 2004/05/10 21:40:01 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/darcnes/darcnes-0401-r2.ebuild,v 1.3 2004/05/11 00:57:01 mr_bones_ Exp $ inherit games @@ -14,6 +14,7 @@ KEYWORDS="x86 -ppc" IUSE="gtk svga X" DEPEND="svga? ( >=media-libs/svgalib-1.4.2 ) + !svga? ( virtual/x11 ) X? ( virtual/x11 ) gtk? ( virtual/x11 @@ -30,21 +31,21 @@ src_compile() { emake BINFILE=gdarcnes TARGET=Linux_GTK OPTFLAGS="${CFLAGS}" || \ die "compile target Linux_GTK failed" fi - if use X ; then + if use X || use !svga && use !gtk ; then emake TARGET=Linux_X OPTFLAGS="${CFLAGS}" || \ die "compile target Linux_X failed" fi } src_install() { - if use X ; then - dogamesbin darcnes || die "dogamesbin failed" + if use svga ; then + dogamesbin sdarcnes || die "dogamesbin failed (svga)" fi if use gtk ; then dogamesbin gdarcnes || die "dogamesbin failed (gtk)" fi - if use svga ; then - dogamesbin sdarcnes || die "dogamesbin failed (svga)" + if use X || use !svga && use !gtk ; then + dogamesbin darcnes || die "dogamesbin failed" fi dodoc readme prepgamesdirs |