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-mathematics/Macaulay2/, sci-mathematics/Macaulay2/files/
Date: Wed, 27 Feb 2013 17:23:41 +0000 (UTC)	[thread overview]
Message-ID: <1361984710.303b4c8da495c7a33795a7b3caff4edcc09d4d55.jlec@gentoo> (raw)

commit:     303b4c8da495c7a33795a7b3caff4edcc09d4d55
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 27 17:05:10 2013 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 27 17:05:10 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=303b4c8d

sci-mathematics/Macaulay2: Use PKG_CONFIG instead of generic pkg-config

Package-Manager: portage-2.2.0_alpha163

---
 sci-mathematics/Macaulay2/ChangeLog               |    4 ++++
 sci-mathematics/Macaulay2/Macaulay2-9999.ebuild   |    1 +
 sci-mathematics/Macaulay2/files/9999-lapack.patch |    2 +-
 3 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/sci-mathematics/Macaulay2/ChangeLog b/sci-mathematics/Macaulay2/ChangeLog
index ec1c9af..e164ec1 100644
--- a/sci-mathematics/Macaulay2/ChangeLog
+++ b/sci-mathematics/Macaulay2/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  27 Feb 2013; Justin Lecher <jlec@gentoo.org> files/9999-lapack.patch,
+  Macaulay2-9999.ebuild:
+  Use PKG_CONFIG instead of generic pkg-config
+
   22 Feb 2013; Justin Lecher <jlec@gentoo.org> Macaulay2-9999.ebuild,
   metadata.xml:
   Use tc-getPKG_CONFIG from toolchain-funcs.eclass instead of plain pkg-config#

diff --git a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
index b182641..b25ac45 100644
--- a/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
+++ b/sci-mathematics/Macaulay2/Macaulay2-9999.ebuild
@@ -82,6 +82,7 @@ pkg_setup () {
 }
 
 src_prepare() {
+	tc-export PKG_CONFIG
 	# Put updated Normaliz.m2 in place
 	cp "${WORKDIR}/Normaliz2.8/Macaulay2/Normaliz.m2" \
 		"${S}/Macaulay2/packages" || die

diff --git a/sci-mathematics/Macaulay2/files/9999-lapack.patch b/sci-mathematics/Macaulay2/files/9999-lapack.patch
index 3798253..e9a434e 100644
--- a/sci-mathematics/Macaulay2/files/9999-lapack.patch
+++ b/sci-mathematics/Macaulay2/files/9999-lapack.patch
@@ -44,7 +44,7 @@
 -	AC_MSG_ERROR(the fortran compiler ($FC) does not support the Fortran 90 language required for compiling lapack),
 -	AC_MSG_RESULT(yes))
 -fi
-+BUILTLIBS="$(pkg-config --libs lapack) $BUILTLIBS"
++BUILTLIBS="$(${PKG_CONFIG} --libs lapack) $BUILTLIBS"
  
  if test $BUILD_memtailor = yes
  then BUILTLIBS="-lmemtailor $BUILTLIBS"


             reply	other threads:[~2013-02-27 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27 17:23 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-01  6:31 [gentoo-commits] proj/sci:master commit in: sci-mathematics/Macaulay2/, sci-mathematics/Macaulay2/files/ Andrew Ammerlaan
2012-10-30 23:10 Thomas Kahle
2011-09-25  7:27 Thomas Kahle
2011-07-08 11:17 Thomas Kahle

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=1361984710.303b4c8da495c7a33795a7b3caff4edcc09d4d55.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