summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2004-07-20 03:14:55 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2004-07-20 03:14:55 +0000
commit88bcb951474754cadf1761a5d3ef22f25fb784f0 (patch)
tree1552720b527ee95ec7a3c5cfa375c352d69c3a8f /dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild
parentebuild cleanup. (Manifest recommit) (diff)
downloadgentoo-2-88bcb951474754cadf1761a5d3ef22f25fb784f0.tar.gz
gentoo-2-88bcb951474754cadf1761a5d3ef22f25fb784f0.tar.bz2
gentoo-2-88bcb951474754cadf1761a5d3ef22f25fb784f0.zip
stable, ebuild cleanup.
Diffstat (limited to 'dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild')
-rw-r--r--dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild b/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild
index 5dcc1f03dde6..4de8e6388bc4 100644
--- a/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild
+++ b/dev-db/mysql-super-smack/mysql-super-smack-1.2.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/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild,v 1.3 2004/06/24 21:57:44 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild,v 1.4 2004/07/20 03:14:55 robbat2 Exp $
inherit eutils
@@ -12,7 +12,7 @@ SRC_URI="http://jeremy.zawodny.com/mysql/${MY_PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="x86"
IUSE="mysql postgres"
DEPEND="mysql? ( dev-db/mysql )
@@ -20,6 +20,10 @@ DEPEND="mysql? ( dev-db/mysql )
S=${WORKDIR}/${MY_P}
+pkg_setup() {
+ use !mysql && use !postgres && die "You need to use at least one of USE=mysql or USE=postgres for benchmarking!"
+}
+
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}.destdir.patch