public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Honza Macháček" <Hloupy.Honza@centrum.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/openmx/
Date: Thu, 19 Sep 2013 07:57:38 +0000 (UTC)	[thread overview]
Message-ID: <1379577397.6fb2f4e8860e2ccdf204e734333e11c026dbd066.honza_machacek@gentoo> (raw)
Message-ID: <20130919075738.qUZoIRkIBko0O7DrjqbJL5yPuvxubp_tmAbfGKX_pro@z> (raw)

commit:     6fb2f4e8860e2ccdf204e734333e11c026dbd066
Author:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
AuthorDate: Thu Sep 19 07:56:37 2013 +0000
Commit:     Honza Macháček <Hloupy.Honza <AT> centrum <DOT> cz>
CommitDate: Thu Sep 19 07:56:37 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=6fb2f4e8

sci-physics/openm updated to 3.7.6, corrected linking with fortran code using gcc.

Package-Manager: portage-2.2.1

---
 sci-physics/openmx/ChangeLog                                 |  6 ++++++
 .../openmx/{openmx-3.7.4.ebuild => openmx-3.7.6.ebuild}      | 12 ++++++++++--
 2 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/sci-physics/openmx/ChangeLog b/sci-physics/openmx/ChangeLog
index b38e728..e0852b2 100644
--- a/sci-physics/openmx/ChangeLog
+++ b/sci-physics/openmx/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*openmx-3.7.6 (19 Sep 2013)
+
+  19 Sep 2013; Honza Macháček <Hloupy.Honza@centrum.cz> -openmx-3.7.4.ebuild,
+  +openmx-3.7.6.ebuild:
+  Updated to 3.7.6, corrected linking with fortran code using gcc.
+
   16 Jul 2013; Honza Macháček <Hloupy.Honza@centrum.cz> openmx-3.7.4.ebuild:
   Another quick fix, the version number of the PDF manual.
 

diff --git a/sci-physics/openmx/openmx-3.7.4.ebuild b/sci-physics/openmx/openmx-3.7.6.ebuild
similarity index 92%
rename from sci-physics/openmx/openmx-3.7.4.ebuild
rename to sci-physics/openmx/openmx-3.7.6.ebuild
index e4fff03..bb44f16 100644
--- a/sci-physics/openmx/openmx-3.7.4.ebuild
+++ b/sci-physics/openmx/openmx-3.7.6.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 inherit eutils multilib toolchain-funcs fortran-2
 
-PATCHDATE="13July03"
+PATCHDATE="13Sep01"
 
 DESCRIPTION="Material eXplorer using DFT, NC pseudopotentials, and pseudo-atomic localized basis functions"
 HOMEPAGE="http://www.openmx-square.org/"
@@ -34,6 +34,14 @@ MAKEOPTS+=" -j1"
 FORTRAN_STANDARD=90
 
 pkg_setup() {
+	# Link in the GNU Fortran library for Fortran code.
+	# Other compilers may need other hacks.
+	FC_LIB=""
+	if [[ $(tc-getCC)$ == *gcc* ]]; then
+		FC_LIB="-lgfortran"
+	fi
+	export FC_LIB
+
 	if use mpi; then
 		export CC="mpicc"
 		export FC="mpif90"
@@ -136,7 +144,7 @@ src_configure() {
 	sed \
 		-e "s%^CC *=.*$%CC  = ${CC} ${CFLAGS}%" \
 		-e "s%^FC *=.*$%FC  = ${FC} ${FCFLAGS}%" \
-		-e "s%^LIB *=.*$%LIB = ${MX_LIB}%" \
+		-e "s%^LIB *=.*$%LIB = ${MX_LIB} ${FC_LIB}%" \
 		-i source/makefile || die
 }
 


             reply	other threads:[~2013-09-19  7:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26  9:41 Honza Macháček [this message]
2013-09-19  7:57 ` [gentoo-commits] proj/sci:master commit in: sci-physics/openmx/ Honza Macháček
  -- strict thread matches above, loose matches on Subject: below --
2022-01-24 16:06 Andrew Ammerlaan
2021-12-16 10:57 Andrew Ammerlaan
2021-01-19 17:02 Andrew Ammerlaan
2014-06-02 14:05 Honza Macháček
2013-09-20  9:48 Justin Lecher
2013-07-16 12:58 Honza Macháček
2013-07-16 12:20 Honza Macháček
2013-02-21 22:56 Justin Lecher
2013-01-29  9:31 Kacper Kowalik

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=1379577397.6fb2f4e8860e2ccdf204e734333e11c026dbd066.honza_machacek@gentoo \
    --to=hloupy.honza@centrum.cz \
    --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