summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-10-11 16:51:32 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-10-11 16:51:32 +0000
commit1d675631b9e22ae151cb5ea6d257130c49f924af (patch)
tree9d01e602c6ea6f040da5bc9fa7cabb964eaaff5b /sci-libs/cblas-reference
parentfixed lib->get_libdir for eselect bug workaround (diff)
downloadgentoo-2-1d675631b9e22ae151cb5ea6d257130c49f924af.tar.gz
gentoo-2-1d675631b9e22ae151cb5ea6d257130c49f924af.tar.bz2
gentoo-2-1d675631b9e22ae151cb5ea6d257130c49f924af.zip
fixed lib->get_libdir for eselect bug workaround
(Portage version: 2.1.3.12)
Diffstat (limited to 'sci-libs/cblas-reference')
-rw-r--r--sci-libs/cblas-reference/ChangeLog6
-rw-r--r--sci-libs/cblas-reference/cblas-reference-20030223-r4.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/sci-libs/cblas-reference/ChangeLog b/sci-libs/cblas-reference/ChangeLog
index 2405e5782598..e676602eff66 100644
--- a/sci-libs/cblas-reference/ChangeLog
+++ b/sci-libs/cblas-reference/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/cblas-reference
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.26 2007/10/10 12:31:42 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/ChangeLog,v 1.27 2007/10/11 16:51:32 bicatali Exp $
+
+ 11 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ cblas-reference-20030223-r4.ebuild:
+ fixed lib->get_libdir for eselect bug workaround
10 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org> -files/c-reference,
-files/cblas-gentoo.patch, -files/eselect-reference,
diff --git a/sci-libs/cblas-reference/cblas-reference-20030223-r4.ebuild b/sci-libs/cblas-reference/cblas-reference-20030223-r4.ebuild
index 8f3c3348bf18..dd2522a397ef 100644
--- a/sci-libs/cblas-reference/cblas-reference-20030223-r4.ebuild
+++ b/sci-libs/cblas-reference/cblas-reference-20030223-r4.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/cblas-reference/cblas-reference-20030223-r4.ebuild,v 1.8 2007/10/10 12:31:42 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cblas-reference/cblas-reference-20030223-r4.ebuild,v 1.9 2007/10/11 16:51:32 bicatali Exp $
inherit autotools eutils fortran multilib
@@ -51,7 +51,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}"