diff options
author | Michael Cummings <mcummings@gentoo.org> | 2002-10-15 14:34:33 +0000 |
---|---|---|
committer | Michael Cummings <mcummings@gentoo.org> | 2002-10-15 14:34:33 +0000 |
commit | 6c33b26e813e95a2bebf2d3d3c50657348733364 (patch) | |
tree | 510c03d9bb22f26fec903f91152349a38f3f9314 /dev-db | |
parent | BLender license (diff) | |
download | historical-6c33b26e813e95a2bebf2d3d3c50657348733364.tar.gz historical-6c33b26e813e95a2bebf2d3d3c50657348733364.tar.bz2 historical-6c33b26e813e95a2bebf2d3d3c50657348733364.zip |
Fixed config for sparc's due to a bdb bug
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/mysql/ChangeLog | 7 | ||||
-rw-r--r-- | dev-db/mysql/mysql-3.23.52-r1.ebuild | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/dev-db/mysql/ChangeLog b/dev-db/mysql/ChangeLog index ad26dea33dc9..023529bd4f0c 100644 --- a/dev-db/mysql/ChangeLog +++ b/dev-db/mysql/ChangeLog @@ -1,9 +1,14 @@ # 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 diff --git a/dev-db/mysql/mysql-3.23.52-r1.ebuild b/dev-db/mysql/mysql-3.23.52-r1.ebuild index 032157dfd156..75c3af848b66 100644 --- a/dev-db/mysql/mysql-3.23.52-r1.ebuild +++ b/dev-db/mysql/mysql-3.23.52-r1.ebuild @@ -1,6 +1,6 @@ # 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" @@ -50,8 +50,14 @@ src_unpack() { 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" |