/[gentoo-x86]/eclass/mysql.eclass
Gentoo

Diff of /eclass/mysql.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.76 Revision 1.78
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.76 2007/05/09 16:25:33 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.78 2007/05/11 08:25:11 robbat2 Exp $
4 4
5# Author: Francesco Riosa (Retired) <vivo@gentoo.org> 5# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
6# Maintainer: Luca Longinotti <chtekk@gentoo.org> 6# Maintainer: Luca Longinotti <chtekk@gentoo.org>
7 7
8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too! 8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too!
328 else 328 else
329 myconf="${myconf} $(use_with ssl openssl)" 329 myconf="${myconf} $(use_with ssl openssl)"
330 fi 330 fi
331 331
332 if use berkdb ; then 332 if use berkdb ; then
333 # The following fix is due to a bug with bdb on SPARC's. See: 333 # The following fix is due to a bug with bdb on SPARC's. See:
334 # http://www.geocrawler.com/mail/msg.php3?msg_id=4754814&list=8 334 # http://www.geocrawler.com/mail/msg.php3?msg_id=4754814&list=8
335 # It comes down to non-64-bit safety problems. 335 # It comes down to non-64-bit safety problems.
336 if use alpha || use amd64 || use hppa || use mips || use sparc ; then 336 if use alpha || use amd64 || use hppa || use mips || use sparc ; then
337 elog "Berkeley DB support was disabled due to compatiblity issues on this arch" 337 elog "Berkeley DB support was disabled due to compatibility issues on this arch"
338 myconf="${myconf} --without-berkeley-db" 338 myconf="${myconf} --without-berkeley-db"
339 else 339 else
340 myconf="${myconf} --with-berkeley-db=./bdb" 340 myconf="${myconf} --with-berkeley-db=./bdb"
341 fi 341 fi
342 else 342 else
673 done 673 done
674 fi 674 fi
675 675
676 # Docs 676 # Docs
677 dodoc README COPYING ChangeLog EXCEPTIONS-CLIENT INSTALL-SOURCE 677 dodoc README COPYING ChangeLog EXCEPTIONS-CLIENT INSTALL-SOURCE
678 doinfo ${S}/Docs/mysql.info
678 679
679 # Minimal builds don't have the MySQL server 680 # Minimal builds don't have the MySQL server
680 if ! use minimal ; then 681 if ! use minimal ; then
681 docinto "support-files" 682 docinto "support-files"
682 for script in \ 683 for script in \
689 690
690 docinto "scripts" 691 docinto "scripts"
691 for script in scripts/mysql* ; do 692 for script in scripts/mysql* ; do
692 [[ "${script%.sh}" == "${script}" ]] && dodoc "${script}" 693 [[ "${script%.sh}" == "${script}" ]] && dodoc "${script}"
693 done 694 done
695
694 fi 696 fi
695 697
696 mysql_lib_symlinks "${D}" 698 mysql_lib_symlinks "${D}"
697} 699}
698 700

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.78

  ViewVC Help
Powered by ViewVC 1.1.20