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

Diff of /eclass/mysql-autotools.eclass

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

Revision 1.14 Revision 1.15
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 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-autotools.eclass,v 1.14 2013/01/28 02:13:05 robbat2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-autotools.eclass,v 1.15 2013/02/13 00:40:57 robbat2 Exp $
4 4
5# @ECLASS: mysql-autotools.eclass 5# @ECLASS: mysql-autotools.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# MySQL Team <mysql-bugs@gentoo.org> 7# MySQL Team <mysql-bugs@gentoo.org>
8# Robin H. Johnson <robbat2@gentoo.org> 8# Robin H. Johnson <robbat2@gentoo.org>
287 use ${i} \ 287 use ${i} \
288 && plugins_dyn="${plugins_dyn} ${i}" \ 288 && plugins_dyn="${plugins_dyn} ${i}" \
289 || plugins_dis="${plugins_dis} ${i}" 289 || plugins_dis="${plugins_dis} ${i}"
290 done 290 done
291 fi 291 fi
292
293 #Authentication plugins
294 if mysql_version_is_at_least "5.2.11" ; then
295 for i in pam ; do
296 use ${i} \
297 && plugins_dyn="${plugins_dyn} auth_${i}" \
298 || plugins_dis="${plugins_dis} auth_${i}"
299 done
300 fi
292 fi 301 fi
293 302
294 if pbxt_available && [[ "${PBXT_NEWSTYLE}" == "1" ]]; then 303 if pbxt_available && [[ "${PBXT_NEWSTYLE}" == "1" ]]; then
295 use pbxt \ 304 use pbxt \
296 && plugins_sta="${plugins_sta} pbxt" \ 305 && plugins_sta="${plugins_sta} pbxt" \
646 done 655 done
647 656
648 fi 657 fi
649 658
650 mysql_lib_symlinks "${ED}" 659 mysql_lib_symlinks "${ED}"
660
661 #Remove mytop if perl is not selected
662 [[ "${PN}" == "mariadb" ]] && ! use perl \
663 && mysql_version_is_at_least "5.3" \
664 && rm -f "${ED}/usr/bin/mytop"
665
666 #Bug 455462 remove unnecessary libtool files
667 prune_libtool_files --modules
651} 668}

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

  ViewVC Help
Powered by ViewVC 1.1.20