# ChangeLog for dev-db/mysql
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.16 2002/09/29 22:34:20 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/ChangeLog,v 1.17 2002/10/15 14:34:33 mcummings Exp $
*mysql-3.23.52-r1 (29 Sep 2002)
+ 15 Oct 2002; <mcummings@datanode.net> mysql-3.23.52-r1.ebuild :
+
+ Changed the BDB check due to a bug in BDB on sparc's. See notes in ebuild
+ for reference URL.
+
29 Sep 2002; Ryan Phillips <rphillips@gentoo.org> mysql-3.23.52-r1.ebuild :
Added thread-safe client support... MyODBC package needs this flag compiled
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-3.23.52-r1.ebuild,v 1.4 2002/10/05 05:39:10 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql/mysql-3.23.52-r1.ebuild,v 1.5 2002/10/15 14:34:33 mcummings Exp $
IUSE="static readline innodb berkdb tcpd"
src_compile() {
local myconf
myconf="--with-thread-safe-client"
- use berkdb && myconf="${myconf} --with-berkeley-db=./bdb"
- use berkdb || myconf="${myconf} --without-berkeley-db"
+# 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
+ if [ use sparc || use sparc64 ] ; then
+ myconf="${myconf} --without-berkeley-db"
+ else
+ use berkdb && myconf="${myconf} --with-berkeley-db=./bdb" \
+ || myconf="${myconf} --without-berkeley-db"
+ fi
use readline && myconf="${myconf} --with-readline"
use readline || myconf="${myconf} --without-readline"
use static && myconf="${myconf} --with-mysqld-ldflags=-all-static --disable-shared"