summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-10-11 16:50:10 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-10-11 16:50:10 +0000
commitb2ec228a3f1bd876fb30beae8b2cacef9e3da0cd (patch)
tree9727851988438bbd52497a12dfb15ba0a4aa13d0 /sci-libs
parentfixed lib->get_libdir for eselect bug workaround (diff)
downloadgentoo-2-b2ec228a3f1bd876fb30beae8b2cacef9e3da0cd.tar.gz
gentoo-2-b2ec228a3f1bd876fb30beae8b2cacef9e3da0cd.tar.bz2
gentoo-2-b2ec228a3f1bd876fb30beae8b2cacef9e3da0cd.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/blas-reference/ChangeLog6
-rw-r--r--sci-libs/blas-reference/blas-reference-20070226.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/sci-libs/blas-reference/ChangeLog b/sci-libs/blas-reference/ChangeLog
index ac23014c869a..a4b4f09d96f6 100644
--- a/sci-libs/blas-reference/ChangeLog
+++ b/sci-libs/blas-reference/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/blas-reference
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/ChangeLog,v 1.37 2007/10/10 12:30:50 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/ChangeLog,v 1.38 2007/10/11 16:50:10 bicatali Exp $
+
+ 11 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ blas-reference-20070226.ebuild:
+ fixed lib->get_libdir for eselect bug workaround
10 Oct 2007; Sébastien Fabbro <bicatali@gentoo.org>
-files/blas-reference-19940131-autotool.patch, -files/Makefile,
diff --git a/sci-libs/blas-reference/blas-reference-20070226.ebuild b/sci-libs/blas-reference/blas-reference-20070226.ebuild
index faf809c05b75..4b085b0bb100 100644
--- a/sci-libs/blas-reference/blas-reference-20070226.ebuild
+++ b/sci-libs/blas-reference/blas-reference-20070226.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/blas-reference/blas-reference-20070226.ebuild,v 1.12 2007/10/10 12:30:50 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/blas-reference/blas-reference-20070226.ebuild,v 1.13 2007/10/11 16:50:10 bicatali Exp $
inherit eutils autotools fortran multilib flag-o-matic
@@ -58,7 +58,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}"