public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/trilinos/
Date: Mon,  6 Jan 2014 19:27:11 +0000 (UTC)	[thread overview]
Message-ID: <1389036380.90d511bdd10f7bd823c85e4f64052941778c6f04.jlec@gentoo> (raw)

commit:     90d511bdd10f7bd823c85e4f64052941778c6f04
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  6 19:26:20 2014 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan  6 19:26:20 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=90d511bd

sci-libs/trilinos: Don't use plain pkg-config

Package-Manager: portage-2.2.8

---
 sci-libs/trilinos/ChangeLog              |  3 +++
 sci-libs/trilinos/trilinos-11.0.3.ebuild | 11 ++++++-----
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/sci-libs/trilinos/ChangeLog b/sci-libs/trilinos/ChangeLog
index 9ef8e1d..394f9fb 100644
--- a/sci-libs/trilinos/ChangeLog
+++ b/sci-libs/trilinos/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  06 Jan 2014; Justin Lecher <jlec@gentoo.org> trilinos-11.0.3.ebuild:
+  Don't use plain pkg-config
+
   06 Jan 2014; Justin Lecher <jlec@gentoo.org> trilinos-11.4.2.ebuild,
   metadata.xml:
   Fix moced dep

diff --git a/sci-libs/trilinos/trilinos-11.0.3.ebuild b/sci-libs/trilinos/trilinos-11.0.3.ebuild
index 7ef814c..e50a2e1 100644
--- a/sci-libs/trilinos/trilinos-11.0.3.ebuild
+++ b/sci-libs/trilinos/trilinos-11.0.3.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
 EAPI="5"
 
-inherit cmake-utils
+inherit cmake-utils toolchain-funcs
 
 DESCRIPTION="Scientific library collection for large scale problems"
 HOMEPAGE="http://trilinos.sandia.gov/"
@@ -35,7 +35,8 @@ RDEPEND="
 	taucs? ( sci-libs/taucs )
 	tbb? ( dev-cpp/tbb )
 	umfpack? ( sci-libs/umfpack )"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
 
 S="${WORKDIR}/${P}-Source"
 
@@ -48,7 +49,7 @@ pkg_nofetch() {
 
 function trilinos_alternatives {
 	alt_dirs=""
-	for d in $(pkg-config --libs-only-L $1); do
+	for d in $($(tc-getPKG_CONFIG) --libs-only-L $1); do
 		alt_dirs="${alt_dirs};${d:2}"
 	done
 	arg="-D${2}_LIBRARY_DIRS=${alt_dirs:1}"
@@ -57,7 +58,7 @@ function trilinos_alternatives {
 	)
 
 	alt_libs=""
-	for d in $(pkg-config --libs-only-l $1); do
+	for d in $($(tc-getPKG_CONFIG) --libs-only-l $1); do
 		alt_libs="${alt_libs};${d:2}"
 	done
 	arg="-D${2}_LIBRARY_NAMES=${alt_libs:1}"


             reply	other threads:[~2014-01-06 19:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-06 19:27 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-05-15 16:34 [gentoo-commits] proj/sci:master commit in: sci-libs/trilinos/ Matthias Maier
2018-04-03  3:52 Matthias Maier
2018-04-02 12:45 Justin Lecher
2017-07-07 15:52 Matthias Maier
2017-07-07 15:49 Matthias Maier
2017-02-24 18:32 Christoph Junghans
2016-08-31  6:56 Marius Brehler
2016-08-31  6:56 Marius Brehler
2016-07-12 19:57 Marius Brehler
2016-07-12 19:57 Marius Brehler
2016-07-12 19:57 Marius Brehler
2016-03-06 21:40 Justin Lecher
2016-03-06 21:32 Justin Lecher
2015-09-21 19:44 Justin Lecher
2015-08-27 15:01 Justin Lecher
2015-02-19 21:12 Christoph Junghans
2014-10-24  3:33 Christoph Junghans
2014-01-06 18:33 Justin Lecher
2013-11-12 16:43 Nicolas Bock
2013-06-19 23:51 Sebastien Fabbro
2013-06-12 20:04 Justin Lecher
2013-04-22  1:40 Christoph Junghans
2013-02-22 15:46 Justin Lecher
2012-04-08 23:22 Andrea Arteaga
2012-04-08  0:54 Andrea Arteaga

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1389036380.90d511bdd10f7bd823c85e4f64052941778c6f04.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox