summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-10-07 18:57:53 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-10-07 18:57:53 +0000
commit117a47e6bcf7d1dc4c244cce70dd8ace4a99c17c (patch)
tree67fe9716db5eccb8dd83d69dfcadc581e624e4ce /sci-libs/mkl/mkl-10.0.5.025.ebuild
parentavoid parallel make install failure (bug #239711); tidy (diff)
downloadhistorical-117a47e6bcf7d1dc4c244cce70dd8ace4a99c17c.tar.gz
historical-117a47e6bcf7d1dc4c244cce70dd8ace4a99c17c.tar.bz2
historical-117a47e6bcf7d1dc4c244cce70dd8ace4a99c17c.zip
Fixed some artifacts from build process, bug #240387. Added MKLROOT in environment file. Removed old version.
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'sci-libs/mkl/mkl-10.0.5.025.ebuild')
-rw-r--r--sci-libs/mkl/mkl-10.0.5.025.ebuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/sci-libs/mkl/mkl-10.0.5.025.ebuild b/sci-libs/mkl/mkl-10.0.5.025.ebuild
index 62cf94274ecb..299415a99b0c 100644
--- a/sci-libs/mkl/mkl-10.0.5.025.ebuild
+++ b/sci-libs/mkl/mkl-10.0.5.025.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-10.0.5.025.ebuild,v 1.1 2008/09/24 16:32:33 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mkl/mkl-10.0.5.025.ebuild,v 1.2 2008/10/07 18:57:53 bicatali Exp $
inherit eutils toolchain-funcs fortran check-reqs
@@ -140,6 +140,10 @@ src_unpack() {
;;
esac
MKL_LIBDIR=${MKL_DIR}/lib/${MKL_ARCH}
+ # fix env scripts
+ sed -i \
+ -e "s:${S}:${MKL_DIR}:g" \
+ tools/environment/*sh || die "sed support file failed"
}
src_compile() {
@@ -305,10 +309,12 @@ src_install() {
mkl_make_profiles
# install env variables
- local env_file=35mkl
- echo "LDPATH=${MKL_LIBDIR}" > ${env_file}
- echo "MANPATH=${MKL_DIR}/man" >> ${env_file}
- doenvd ${env_file} || die "doenvd failed"
+ cat > 35mkl <<-EOF
+ MKLROOT=${MKL_DIR}
+ LDPATH=${MKL_LIBDIR}
+ MANPATH=${MKL_DIR}/man
+ EOF
+ doenvd 35mkl || die "doenvd failed"
}
pkg_postinst() {