summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Guertin <gerk@gentoo.org>2002-06-22 00:24:43 +0000
committerMark Guertin <gerk@gentoo.org>2002-06-22 00:24:43 +0000
commitd81915cc26c1eadd2448c53f2dd444129df700dc (patch)
tree74f721f80b0ab0b529ff6c86ababe35347548df9 /app-emulation/mol
parentadded error message (diff)
downloadgentoo-2-d81915cc26c1eadd2448c53f2dd444129df700dc.tar.gz
gentoo-2-d81915cc26c1eadd2448c53f2dd444129df700dc.tar.bz2
gentoo-2-d81915cc26c1eadd2448c53f2dd444129df700dc.zip
ARCH check update and added missing env vars
Diffstat (limited to 'app-emulation/mol')
-rw-r--r--app-emulation/mol/ChangeLog7
-rw-r--r--app-emulation/mol/mol-0.9.63.ebuild14
2 files changed, 14 insertions, 7 deletions
diff --git a/app-emulation/mol/ChangeLog b/app-emulation/mol/ChangeLog
index 7f61c8d13407..4a7ea478b986 100644
--- a/app-emulation/mol/ChangeLog
+++ b/app-emulation/mol/ChangeLog
@@ -1,9 +1,14 @@
# ChangeLog for app-emulation/mol
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.2 2002/05/09 15:37:06 daybird Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/ChangeLog,v 1.3 2002/06/22 00:24:43 gerk Exp $
*mol-0.9.63 (5 May 2002)
+ 22 June 2002; Gerk (gerk@gentoo.org)
+
+ Added ARCH checks and missing env vars to build, no revision
+ bump as no need to rebild for this
+
5 May 2002; David Chamberlain <daybird@gentoo.org> ChangeLog :
Initial version (post ppc/x86 portage merge)
diff --git a/app-emulation/mol/mol-0.9.63.ebuild b/app-emulation/mol/mol-0.9.63.ebuild
index 776b2b197fb7..df52cb45730c 100644
--- a/app-emulation/mol/mol-0.9.63.ebuild
+++ b/app-emulation/mol/mol-0.9.63.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.63.ebuild,v 1.4 2002/06/21 20:50:53 gerk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/mol/mol-0.9.63.ebuild,v 1.5 2002/06/22 00:24:43 gerk Exp $
S=${WORKDIR}/${P}
DESCRIPTION="MOL (Mac-on-Linux) is a PPC-only program to run Mac OS <=9.2 natively within Linux"
@@ -12,12 +12,14 @@ RDEPEND=""
SLOT="0"
LICENSE="GPL"
-src_compile() {
-
- if [ ${ARCH} = "x86" ] ; then
- einfo "PPC Only build, sorry"
- exit 1
+pkg_setup() {
+ if [ ${ARCH} != "ppc" ] ; then
+ eerror "Sorry, this is a PPC only package."
+ die "Sorry, this as a PPC only pacakge."
fi
+}
+
+src_compile() {
./configure --prefix=/usr || die "This is a ppc-only package (time to buy that iBook, no?)"
make || die "Failed to compile MOL"