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: sys-cluster/hpl/
Date: Thu, 21 Feb 2013 22:56:52 +0000 (UTC)	[thread overview]
Message-ID: <1361484925.edcc2c3994fa87e67d786effe13a8f993fc65705.jlec@gentoo> (raw)

commit:     edcc2c3994fa87e67d786effe13a8f993fc65705
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 21 22:15:25 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Feb 21 22:15:25 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=edcc2c39

sys-cluster/hpl: Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config; add missing dep on virtual/pkgconfig

Package-Manager: portage-2.2.0_alpha163

---
 sys-cluster/hpl/ChangeLog         |    6 +++++-
 sys-cluster/hpl/hpl-2.0-r1.ebuild |   20 ++++++++++++--------
 sys-cluster/hpl/metadata.xml      |   12 ++++++------
 3 files changed, 23 insertions(+), 15 deletions(-)

diff --git a/sys-cluster/hpl/ChangeLog b/sys-cluster/hpl/ChangeLog
index fdac651..e04d23e 100644
--- a/sys-cluster/hpl/ChangeLog
+++ b/sys-cluster/hpl/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sys-cluster/hpl
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  21 Feb 2013; Justin Lecher <jlec@gentoo.org> hpl-2.0-r1.ebuild, metadata.xml:
+  Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config;
+  add missing dep on virtual/pkgconfig
+
   01 Feb 2011; Justin Bronder <jsbronder@gentoo.org> hpl-2.0-r1.ebuild:
   Bump EAPI thanks to scarabeus.
 

diff --git a/sys-cluster/hpl/hpl-2.0-r1.ebuild b/sys-cluster/hpl/hpl-2.0-r1.ebuild
index bec5092..2db9213 100644
--- a/sys-cluster/hpl/hpl-2.0-r1.ebuild
+++ b/sys-cluster/hpl/hpl-2.0-r1.ebuild
@@ -1,22 +1,26 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/hpl/hpl-1.0-r2.ebuild,v 1.1 2005/09/01 11:59:18 pbienst Exp $
 
 EAPI=4
-inherit eutils mpi
 
-DESCRIPTION="Portable Implementation of the High-Performance Linpack Benchmark for Distributed-Memory Computers"
+inherit eutils mpi toolchain-funcs
+
+DESCRIPTION="High-Performance Linpack Benchmark for Distributed-Memory Computers"
 HOMEPAGE="http://www.netlib.org/benchmark/hpl/"
 SRC_URI="http://www.netlib.org/benchmark/hpl/hpl-${PV}.tar.gz"
+
 LICENSE="HPL"
 SLOT="0"
 KEYWORDS="~x86 ~amd64"
-
 IUSE="doc"
-DEPEND="$(mpi_pkg_deplist)
+
+DEPEND="
+	$(mpi_pkg_deplist)
 	virtual/blas
 	virtual/lapack"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+	virtual/pkgconfig"
 
 src_prepare() {
 	local mpicc_path="$(mpi_pkg_cc)"
@@ -28,10 +32,10 @@ src_prepare() {
 		-e '/^ARCH\>/s,= .*,= gentoo_hpl_fblas_x86,' \
 		-e '/^MPdir\>/s,= .*,=,' \
 		-e '/^MPlib\>/s,= .*,=,' \
-		-e "/^LAlib\>/s,= .*,= $(pkg-config --libs-only-l blas lapack)," \
+		-e "/^LAlib\>/s,= .*,= $($(tc-getPKG_CONFIG) --libs-only-l blas lapack)," \
 		-e "/^LINKER\>/s,= .*,= ${mpicc_path}," \
 		-e "/^CC\>/s,= .*,= ${mpicc_path}," \
-		-e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS} $(pkg-config --libs-only-L blas lapack)|" \
+		-e "/^LINKFLAGS\>/s|= .*|= ${LDFLAGS} $($(tc-getPKG_CONFIG) --libs-only-L blas lapack)|" \
 		Make.gentoo_hpl_fblas_x86 || die
 }
 

diff --git a/sys-cluster/hpl/metadata.xml b/sys-cluster/hpl/metadata.xml
index db933d7..c4c0f8c 100644
--- a/sys-cluster/hpl/metadata.xml
+++ b/sys-cluster/hpl/metadata.xml
@@ -1,10 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<herd>cluster</herd>
-<maintainer>
-  <email>tantive@gentoo.org</email>
-  <name>Michael Imhof</name>
-  <description>Release manager, patch manager</description>
-</maintainer>
+  <herd>cluster</herd>
+  <maintainer>
+    <email>tantive@gentoo.org</email>
+    <name>Michael Imhof</name>
+    <description>Release manager, patch manager</description>
+  </maintainer>
 </pkgmetadata>


             reply	other threads:[~2013-02-21 22:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-21 22:56 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-10-10  1:31 [gentoo-commits] proj/sci:master commit in: sys-cluster/hpl/ Aisha Tammy
2016-02-14 16:55 Justin Lecher
2013-11-27 20:35 Andrew Savchenko
2013-06-29  3:02 Andrew Savchenko
2012-05-24  9:44 Kacper Kowalik
2011-11-10 18:47 Alexey Shvetsov

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=1361484925.edcc2c3994fa87e67d786effe13a8f993fc65705.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