summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2007-05-09 16:25:33 +0000
committerDoug Goldstein <cardoe@gentoo.org>2007-05-09 16:25:33 +0000
commit54e65841a3cad21ad5c14f2e1aa21be83baffd20 (patch)
treeb359f5dcdadf583e947a3a874d6f8530dfe78fd9 /eclass/mysql.eclass
parent Make some scripts executable, bug #167568. (diff)
downloadgentoo-2-54e65841a3cad21ad5c14f2e1aa21be83baffd20.tar.gz
gentoo-2-54e65841a3cad21ad5c14f2e1aa21be83baffd20.tar.bz2
gentoo-2-54e65841a3cad21ad5c14f2e1aa21be83baffd20.zip
Refactor berkdb USE flag msgs to display the right message
Diffstat (limited to 'eclass/mysql.eclass')
-rw-r--r--eclass/mysql.eclass16
1 files changed, 8 insertions, 8 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index 06b5e09b1752..72a78778174a 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.75 2007/04/25 18:22:37 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.76 2007/05/09 16:25:33 cardoe Exp $
# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
# Maintainer: Luca Longinotti <chtekk@gentoo.org>
@@ -329,18 +329,18 @@ configure_40_41_50() {
myconf="${myconf} $(use_with ssl openssl)"
fi
+ if use berkdb ; then
# The following fix is due to a bug with bdb on SPARC's. See:
# http://www.geocrawler.com/mail/msg.php3?msg_id=4754814&list=8
# It comes down to non-64-bit safety problems.
- if use alpha || use amd64 || use hppa || use mips || use sparc ; then
- elog "Berkeley DB support was disabled due to incompatible arch"
- myconf="${myconf} --without-berkeley-db"
- else
- if use berkdb ; then
- myconf="${myconf} --with-berkeley-db=./bdb"
- else
+ if use alpha || use amd64 || use hppa || use mips || use sparc ; then
+ elog "Berkeley DB support was disabled due to compatiblity issues on this arch"
myconf="${myconf} --without-berkeley-db"
+ else
+ myconf="${myconf} --with-berkeley-db=./bdb"
fi
+ else
+ myconf="${myconf} --without-berkeley-db"
fi
if mysql_version_is_at_least "4.1.3" ; then