summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-10-11 16:28:49 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-10-11 16:28:49 +0000
commita09e701d1d47cc3cf868dfa620d33581bcd13c4b (patch)
treeae6fac07d3732d0f0b66f8118758968ab4657b29 /sci-libs/acml/acml-3.6.1-r1.ebuild
parentclean up, tarballs are not available upstream anymore (diff)
downloadhistorical-a09e701d1d47cc3cf868dfa620d33581bcd13c4b.tar.gz
historical-a09e701d1d47cc3cf868dfa620d33581bcd13c4b.tar.bz2
historical-a09e701d1d47cc3cf868dfa620d33581bcd13c4b.zip
fixed lib->get_libdir for eselect bug workaround
Package-Manager: portage-2.1.3.12
Diffstat (limited to 'sci-libs/acml/acml-3.6.1-r1.ebuild')
-rw-r--r--sci-libs/acml/acml-3.6.1-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sci-libs/acml/acml-3.6.1-r1.ebuild b/sci-libs/acml/acml-3.6.1-r1.ebuild
index 73b6ed929118..a718d2351fc2 100644
--- a/sci-libs/acml/acml-3.6.1-r1.ebuild
+++ b/sci-libs/acml/acml-3.6.1-r1.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/acml/acml-3.6.1-r1.ebuild,v 1.2 2007/10/09 22:06:21 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/acml/acml-3.6.1-r1.ebuild,v 1.3 2007/10/11 16:28:49 bicatali Exp $
inherit eutils toolchain-funcs fortran
@@ -155,7 +155,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}"