From 88bcb951474754cadf1761a5d3ef22f25fb784f0 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 20 Jul 2004 03:14:55 +0000 Subject: stable, ebuild cleanup. --- dev-db/mysql-super-smack/ChangeLog | 6 +++++- dev-db/mysql-super-smack/mysql-super-smack-1.2.ebuild | 8 ++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'dev-db/mysql-super-smack') diff --git a/dev-db/mysql-super-smack/ChangeLog b/dev-db/mysql-super-smack/ChangeLog index af4b27475234..a51b24a3332f 100644 --- a/dev-db/mysql-super-smack/ChangeLog +++ b/dev-db/mysql-super-smack/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-db/mysql-super-smack # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/ChangeLog,v 1.2 2004/06/24 21:57:44 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/ChangeLog,v 1.3 2004/07/20 03:14:55 robbat2 Exp $ + + 19 Jul 2004; Robin H. Johnson + mysql-super-smack-1.2.ebuild: + stable, ebuild cleanup. *mysql-super-smack-1.2 (23 Feb 2004) 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 -- cgit v1.2.3-65-gdbad