summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-06-28 04:29:13 +0000
committerAron Griffis <agriffis@gentoo.org>2004-06-28 04:29:13 +0000
commitea81867e4e8547918697a403e07a321fcac2473b (patch)
treed809256371a080fe11ac5d636574ad1120ee7905 /games-emulation
parentMarked amd64. First fsv tag for amd64. (diff)
downloadhistorical-ea81867e4e8547918697a403e07a321fcac2473b.tar.gz
historical-ea81867e4e8547918697a403e07a321fcac2473b.tar.bz2
historical-ea81867e4e8547918697a403e07a321fcac2473b.zip
QA - fix use invocation
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/generator/ChangeLog5
-rw-r--r--games-emulation/generator/Manifest4
-rw-r--r--games-emulation/generator/generator-0.35.ebuild17
3 files changed, 12 insertions, 14 deletions
diff --git a/games-emulation/generator/ChangeLog b/games-emulation/generator/ChangeLog
index 8f370d9bf0c8..6cc36af2c265 100644
--- a/games-emulation/generator/ChangeLog
+++ b/games-emulation/generator/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/generator
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.7 2004/06/24 22:27:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.8 2004/06/28 04:29:13 agriffis Exp $
+
+ 27 Jun 2004; Aron Griffis <agriffis@gentoo.org> generator-0.35.ebuild:
+ QA - fix use invocation
30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> generator-0.35.ebuild:
don't rdepend on nasm; "use arch" instead of "ARCH == "
diff --git a/games-emulation/generator/Manifest b/games-emulation/generator/Manifest
index 83f4ea80d45f..162f0380e010 100644
--- a/games-emulation/generator/Manifest
+++ b/games-emulation/generator/Manifest
@@ -1,5 +1,5 @@
-MD5 22b8cbbe881280e9e16483617fecf8b1 generator-0.35.ebuild 1845
-MD5 74031114112adc011ef646961cc48ef6 ChangeLog 1257
+MD5 abd824f2abb21788933ccccf743e6284 generator-0.35.ebuild 1720
+MD5 83810a53102c5707bb8852f5efcd8627 ChangeLog 1357
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 693c422146d7001565fb916cbb84faf5 files/digest-generator-0.35 66
MD5 9ad78ba06412ba4a6b57b93e759e1016 files/netbsd-gcc-3.3.patch 1345
diff --git a/games-emulation/generator/generator-0.35.ebuild b/games-emulation/generator/generator-0.35.ebuild
index 069940ea4cf0..afa6bd8c4a35 100644
--- a/games-emulation/generator/generator-0.35.ebuild
+++ b/games-emulation/generator/generator-0.35.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35.ebuild,v 1.9 2004/06/24 22:27:13 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35.ebuild,v 1.10 2004/06/28 04:29:13 agriffis Exp $
inherit eutils gcc games
@@ -47,15 +47,17 @@ src_unpack() {
src_compile() {
local myconf="--with-gcc=$(gcc-major-version)"
- local mygui=
+ local mygui myguis
use x86 \
&& myconf="${myconf} --with-raze" \
|| myconf="${myconf} --with-cmz80"
- for mygui in `use gtk` `use svga` ; do
- [ "${mygui}" == "svga" ] && mygui=svgalib
+ use gtk && myguis="gtk"
+ use svga && myguis="svgalib"
+ [ -n "${myguis}" ] || myguis="gtk"
+ for mygui in ${myguis}; do
if [ -f Makefile ] ; then
make clean
fi
@@ -65,13 +67,6 @@ src_compile() {
emake -j1 || die "building ${mygui}"
mv main/generator-${mygui} my-bins/
done
- if [ -z "`use gtk``use svga`" ] ; then
- egamesconf \
- ${myconf} \
- --with-gtk || die
- emake -j1 || die "building ${mygui}"
- mv main/generator-gtk my-bins/
- fi
}
src_install() {