summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 07:26:58 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-03-31 07:26:58 +0000
commit7f0f5c6e34e70fe5b8bbfe1fc6ba0d650bac7dbe (patch)
tree9a6ee3d51a8c280ddc0c5f900cae7d79b34e1f9e
parentdon't rdepend on nasm (diff)
downloadhistorical-7f0f5c6e34e70fe5b8bbfe1fc6ba0d650bac7dbe.tar.gz
historical-7f0f5c6e34e70fe5b8bbfe1fc6ba0d650bac7dbe.tar.bz2
historical-7f0f5c6e34e70fe5b8bbfe1fc6ba0d650bac7dbe.zip
don't rdepend on nasm; "use arch" instead of "ARCH == "
-rw-r--r--games-emulation/generator/ChangeLog5
-rw-r--r--games-emulation/generator/Manifest4
-rw-r--r--games-emulation/generator/generator-0.35.ebuild14
3 files changed, 14 insertions, 9 deletions
diff --git a/games-emulation/generator/ChangeLog b/games-emulation/generator/ChangeLog
index b0df39097cb1..f8a4e198c241 100644
--- a/games-emulation/generator/ChangeLog
+++ b/games-emulation/generator/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-emulation/generator
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.5 2004/03/20 11:43:42 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/ChangeLog,v 1.6 2004/03/31 07:26:58 mr_bones_ Exp $
+
+ 30 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> generator-0.35.ebuild:
+ don't rdepend on nasm; "use arch" instead of "ARCH == "
20 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> generator-0.35.ebuild,
files/logging.patch, files/netbsd-gcc-3.3.patch:
diff --git a/games-emulation/generator/Manifest b/games-emulation/generator/Manifest
index e256b9308a23..0eac469cf6b4 100644
--- a/games-emulation/generator/Manifest
+++ b/games-emulation/generator/Manifest
@@ -1,5 +1,5 @@
-MD5 57d26a2fee226d79ce84b5820cca4456 ChangeLog 1130
-MD5 a9dddbef0cf72358c9b29dcb7b47f713 generator-0.35.ebuild 1854
+MD5 cf81f3dc6de05edd79e1a822c1eb5af4 ChangeLog 1267
+MD5 cdb36b8596ab270852f27647015228ed generator-0.35.ebuild 1865
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 7e0184966aab..cb647d53d263 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 Technologies, Inc.
# 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.6 2004/03/20 11:43:42 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/generator/generator-0.35.ebuild,v 1.7 2004/03/31 07:26:58 mr_bones_ Exp $
inherit eutils gcc games
@@ -13,13 +13,15 @@ SLOT="0"
KEYWORDS="x86 ppc"
IUSE="svga gtk"
-DEPEND="virtual/glibc
+RDEPEND="virtual/glibc
gtk? (
=x11-libs/gtk+-1*
media-libs/libsdl
)
svga? ( media-libs/svgalib )
- jpeg? ( media-libs/jpeg )
+ jpeg? ( media-libs/jpeg )"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
x86? ( dev-lang/nasm )"
src_unpack() {
@@ -27,7 +29,7 @@ src_unpack() {
cd ${S}
mkdir my-bins
- if [ "${ARCH}" == "ppc" ]; then
+ if use ppc ; then
sed -i \
-e 's/-minline-all-stringops//g' configure \
|| die "sed configure failed"
@@ -45,12 +47,12 @@ src_unpack() {
src_compile() {
local myconf="--with-gcc=$(gcc-major-version)"
+ local mygui=
- [ "${ARCH}" == "x86" ] \
+ use x86 \
&& myconf="${myconf} --with-raze" \
|| myconf="${myconf} --with-cmz80"
- local mygui
for mygui in `use gtk` `use svga` ; do
[ "${mygui}" == "svga" ] && mygui=svgalib