summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-02-21 15:43:40 +0000
committerJustin Lecher <jlec@gentoo.org>2013-02-21 15:43:40 +0000
commite1c56d60fc6ca229df71bec7309a01d4c4549887 (patch)
tree07b7db3490a2c3a059e21855d259066de9c82aee /sci-libs
parentMask >=media-plugins/gst-plugins-meta-1.0[vpx] because requires new libvpx an... (diff)
downloadgentoo-2-e1c56d60fc6ca229df71bec7309a01d4c4549887.tar.gz
gentoo-2-e1c56d60fc6ca229df71bec7309a01d4c4549887.tar.bz2
gentoo-2-e1c56d60fc6ca229df71bec7309a01d4c4549887.zip
sci-libs/arpack: Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/arpack/ChangeLog6
-rw-r--r--sci-libs/arpack/arpack-0.96-r3.ebuild12
-rw-r--r--sci-libs/arpack/metadata.xml4
3 files changed, 13 insertions, 9 deletions
diff --git a/sci-libs/arpack/ChangeLog b/sci-libs/arpack/ChangeLog
index 6067634490ac..ec39508797e8 100644
--- a/sci-libs/arpack/ChangeLog
+++ b/sci-libs/arpack/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/arpack
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/ChangeLog,v 1.48 2013/01/08 02:50:20 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/ChangeLog,v 1.49 2013/02/21 15:43:40 jlec Exp $
+
+ 21 Feb 2013; Justin Lecher <jlec@gentoo.org> arpack-0.96-r3.ebuild,
+ metadata.xml:
+ Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config
08 Jan 2013; Denis Dupeyron <calchan@gentoo.org> arpack-3.1.2.ebuild:
Fix typo in tc-getPKG_CONFIG.
diff --git a/sci-libs/arpack/arpack-0.96-r3.ebuild b/sci-libs/arpack/arpack-0.96-r3.ebuild
index b17685bdc9cb..dbe96e6bf766 100644
--- a/sci-libs/arpack/arpack-0.96-r3.ebuild
+++ b/sci-libs/arpack/arpack-0.96-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/arpack-0.96-r3.ebuild,v 1.4 2012/10/19 10:39:22 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/arpack/arpack-0.96-r3.ebuild,v 1.5 2013/02/21 15:43:40 jlec Exp $
EAPI=4
@@ -49,13 +49,13 @@ src_prepare() {
# fix examples library paths
sed -i \
-e '/^include/d' \
- -e "s:\$(ALIBS):-larpack $(pkg-config --libs blas lapack):g" \
+ -e "s:\$(ALIBS):-larpack $($(tc-getPKG_CONFIG) --libs blas lapack):g" \
-e 's:$(FFLAGS):$(FFLAGS) $(LDFLAGS):g' \
EXAMPLES/*/makefile || die "sed failed"
sed -i \
-e '/^include/d' \
- -e "s:\$(PLIBS):-larpack -lparpack $(pkg-config --libs blas lapack):g" \
+ -e "s:\$(PLIBS):-larpack -lparpack $($(tc-getPKG_CONFIG) --libs blas lapack):g" \
-e 's:_$(PLAT)::g' \
-e 's:$(PFC):mpif77:g' \
-e 's:$(PFFLAGS):$(FFLAGS) $(LDFLAGS) $(EXTOBJS):g' \
@@ -69,8 +69,8 @@ src_prepare() {
src_configure() {
econf \
- --with-blas="$(pkg-config --libs blas)" \
- --with-lapack="$(pkg-config --libs lapack)" \
+ --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
+ --with-lapack="$($(tc-getPKG_CONFIG) --libs lapack)" \
$(use_enable static-libs static) \
$(use_enable mpi)
}
diff --git a/sci-libs/arpack/metadata.xml b/sci-libs/arpack/metadata.xml
index 3ae32bd2b8eb..c598daff90b3 100644
--- a/sci-libs/arpack/metadata.xml
+++ b/sci-libs/arpack/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>sci</herd>
- <longdescription lang="en">
+ <herd>sci</herd>
+ <longdescription lang="en">
The ARnoldi PACKage is a library of routines capable of solving large scale symmetric,
nonsymmetric, and generalized eigenproblems. The software is designed to compute a few
eigenvalues with user specified features such as those of largest real