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

Diff of /eclass/mysql-cmake.eclass

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

Revision 1.16 Revision 1.17
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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-cmake.eclass,v 1.16 2013/06/26 19:31:49 jmbsvicetto Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql-cmake.eclass,v 1.17 2013/06/27 17:23:33 jmbsvicetto Exp $
4 4
5# @ECLASS: mysql-cmake.eclass 5# @ECLASS: mysql-cmake.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Maintainers: 7# Maintainers:
8# - MySQL Team <mysql-bugs@gentoo.org> 8# - MySQL Team <mysql-bugs@gentoo.org>
405 for script in "${S}"/scripts/mysql* ; do 405 for script in "${S}"/scripts/mysql* ; do
406 [[ ( -f $script ) && ( ${script%.sh} == ${script} ) ]] && dodoc "${script}" 406 [[ ( -f $script ) && ( ${script%.sh} == ${script} ) ]] && dodoc "${script}"
407 done 407 done
408 fi 408 fi
409 409
410 cat <<-EOF > "${T}"/80mysql-libdir
411 LDPATH="${EPREFIX}/usr/$(get_libdir)/mysql"
412 EOF
413 doenvd "${T}"/80mysql-libdir
414
410 #Remove mytop if perl is not selected 415 #Remove mytop if perl is not selected
411 [[ ${PN} == "mariadb" ]] && ! use perl \ 416 [[ ${PN} == "mariadb" ]] && ! use perl \
412 && rm -f "${ED}/usr/bin/mytop" 417 && rm -f "${ED}/usr/bin/mytop"
413} 418}

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.20