summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-10-11 16:48:28 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-10-11 16:48:28 +0000
commit392702010b3d561f0d271962949b637215424043 (patch)
treeb02ddd68fc8e410fd19e8a0b6a3258e19e648405 /sci-libs
parentNearly everything linking against dev-scheme/guile-1.8 needs USE=deprecated f... (diff)
downloadgentoo-2-392702010b3d561f0d271962949b637215424043.tar.gz
gentoo-2-392702010b3d561f0d271962949b637215424043.tar.bz2
gentoo-2-392702010b3d561f0d271962949b637215424043.zip
fixed lib->get_libdir for eselect bug workaround
(Portage version: 2.1.3.12)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/mkl/ChangeLog5
-rw-r--r--sci-libs/mkl/mkl-9.1.023.ebuild4
2 files changed, 6 insertions, 3 deletions
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 <bicatali@gentoo.org> 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}"