From 392702010b3d561f0d271962949b637215424043 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Thu, 11 Oct 2007 16:48:28 +0000 Subject: fixed lib->get_libdir for eselect bug workaround (Portage version: 2.1.3.12) --- sci-libs/mkl/ChangeLog | 5 ++++- sci-libs/mkl/mkl-9.1.023.ebuild | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'sci-libs') diff --git a/sci-libs/mkl/ChangeLog b/sci-libs/mkl/ChangeLog index b3ef0bac0b5d..09be9a6020d6 100644 --- a/sci-libs/mkl/ChangeLog +++ b/sci-libs/mkl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-libs/mkl # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/ChangeLog,v 1.16 2007/10/10 12:41:47 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/ChangeLog,v 1.17 2007/10/11 16:48:28 bicatali Exp $ + + 11 Oct 2007; Sébastien Fabbro mkl-9.1.023.ebuild: + fixed lib->get_libdir for eselect bug workaround *mkl-9.1.023 (10 Oct 2007) diff --git a/sci-libs/mkl/mkl-9.1.023.ebuild b/sci-libs/mkl/mkl-9.1.023.ebuild index d87fe92aa038..36861b552ec7 100644 --- a/sci-libs/mkl/mkl-9.1.023.ebuild +++ b/sci-libs/mkl/mkl-9.1.023.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-9.1.023.ebuild,v 1.1 2007/10/10 12:41:47 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-9.1.023.ebuild,v 1.2 2007/10/11 16:48:28 bicatali Exp $ inherit eutils versionator toolchain-funcs fortran @@ -293,7 +293,7 @@ pkg_postinst() { local current_lib=$(eselect ${p} show | cut -d' ' -f2) if [[ ${current_lib} == ${ESELECT_PROF} || -z ${current_lib} ]]; then # work around eselect bug #189942 - local configfile="${ROOT}"/etc/env.d/${p}/lib/config + local configfile="${ROOT}"/etc/env.d/${p}/$(get_libdir)/config [[ -e ${configfile} ]] && rm -f ${configfile} eselect ${p} set ${ESELECT_PROF} elog "${p} has been eselected to ${ESELECT_PROF}" -- cgit v1.2.3-65-gdbad