summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-08-21 17:19:57 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-08-21 17:19:57 +0000
commit839d5489579051af241287509087e6545f68e647 (patch)
tree8377f4790fc2afb517faca56960fa6d6145b33d2 /sci-libs/lapack-reference
parentnet-mail/courierpassd: small changes in xinetd.d script (diff)
downloadgentoo-2-839d5489579051af241287509087e6545f68e647.tar.gz
gentoo-2-839d5489579051af241287509087e6545f68e647.tar.bz2
gentoo-2-839d5489579051af241287509087e6545f68e647.zip
cosmetics changes
(Portage version: 2.1.2.11)
Diffstat (limited to 'sci-libs/lapack-reference')
-rw-r--r--sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild b/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild
index 1c6906e39c2f..df4fe5d23c60 100644
--- a/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild
+++ b/sci-libs/lapack-reference/lapack-reference-3.1.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/lapack-reference/lapack-reference-3.1.1-r1.ebuild,v 1.1 2007/08/21 15:47:10 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/lapack-reference/lapack-reference-3.1.1-r1.ebuild,v 1.2 2007/08/21 17:19:57 bicatali Exp $
inherit eutils autotools flag-o-matic fortran multilib
@@ -55,7 +55,7 @@ src_unpack() {
src_compile() {
econf \
- --libdir=/usr/$(get_libdir)/lapack/reference \
+ --libdir="/usr/$(get_libdir)/lapack/reference" \
|| die "econf failed"
emake || die "emake failed"
}
@@ -67,12 +67,14 @@ src_install() {
}
src_test() {
- cd TESTING/MATGEN && emake || die "Failed to create tmglib.a"
- cd ../ && emake || die "lapack-reference tests failed."
+ cd "${S}"/TESTING/MATGEN
+ emake || die "Failed to create tmglib.a"
+ cd "${S}"/TESTING
+ emake || die "lapack-reference tests failed."
}
pkg_postinst() {
[[ -z "$(eselect lapack show)" ]] && eselect lapack set reference
elog "To use LAPACK reference implementation, you have to issue (as root):"
- elog "\n\teselect lapack set reference\n"
+ elog "\t eselect lapack set reference"
}