public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <ottxor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/
Date: Fri, 20 Feb 2015 16:57:20 +0000 (UTC)	[thread overview]
Message-ID: <1424451345.e3636e5fd50334e2319f42059a2ff8d72610db20.ottxor@gentoo> (raw)

commit:     e3636e5fd50334e2319f42059a2ff8d72610db20
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 20 16:55:45 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Fri Feb 20 16:55:45 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e3636e5f

added fortran hack for bug #540508

Package-Manager: portage-2.2.14

---
 sys-cluster/openmpi/ChangeLog               |  3 +++
 sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild | 18 +++++++++++-------
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/sys-cluster/openmpi/ChangeLog b/sys-cluster/openmpi/ChangeLog
index 99406f7..ba79a0b 100644
--- a/sys-cluster/openmpi/ChangeLog
+++ b/sys-cluster/openmpi/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  20 Feb 2015; Christoph Junghans <ottxor@gentoo.org> openmpi-1.8.4-r3.ebuild:
+  added fortran hack for bug #540508
+
 *openmpi-1.8.4-r3 (19 Feb 2015)
 
   19 Feb 2015; Christoph Junghans <ottxor@gentoo.org> +openmpi-1.8.4-r3.ebuild,

diff --git a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
index 7822097..306bede 100644
--- a/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
+++ b/sys-cluster/openmpi/openmpi-1.8.4-r3.ebuild
@@ -75,14 +75,7 @@ RDEPEND="
 DEPEND="${RDEPEND}"
 
 MULTILIB_WRAPPED_HEADERS=(
-	/usr/include/mpif-io-handles.h
-	/usr/include/mpif-constants.h
 	/usr/include/mpi.h
-	/usr/include/mpif-externals.h
-	/usr/include/mpif-io-constants.h
-	/usr/include/mpif-config.h
-	/usr/include/mpif-sentinels.h
-	/usr/include/mpif-handles.h
 )
 
 pkg_setup() {
@@ -165,12 +158,23 @@ multilib_src_install() {
 
 	# Remove la files, no static libs are installed and we have pkg-config
 	find "${ED}"/usr/$(get_libdir)/ -type f -name '*.la' -delete
+
+	# fortran header cannot be wrapped (bug #540508), workaround part 1
+	if multilib_is_native_abi && use fortran; then
+		mkdir "${T}"/fortran || die
+		mv "${ED}"/usr/include/mpif* "${T}"/fortran || die
+	fi
 }
 
 multilib_src_install_all() {
 	# From USE=vt see #359917
 	rm "${ED}"/usr/share/libtool &> /dev/null
 
+	# fortran header cannot be wrapped (bug #540508), workaround part 2
+	if use fortran; then
+		mv "${T}"/fortran/mpif* "${ED}"/usr/include || die
+	fi
+
 	# Avoid collisions with libevent
 	rm -rf "${ED}"/usr/include/event2 &> /dev/null
 


             reply	other threads:[~2015-02-21  0:05 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-20 16:57 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-08-29 20:28 [gentoo-commits] proj/sci:master commit in: sys-cluster/openmpi/ Justin Bronder
2019-06-10 20:38 Justin Bronder
2019-06-10 20:38 Justin Bronder
2019-06-10 14:53 Justin Bronder
2019-04-08 21:56 Justin Bronder
2019-02-26  2:59 Justin Bronder
2018-11-19  4:16 Justin Bronder
2018-11-14 15:51 Justin Bronder
2018-10-29 22:17 Justin Bronder
2018-09-11 14:23 Justin Bronder
2018-08-27 14:36 Justin Bronder
2018-08-20 20:38 Justin Bronder
2018-08-13 15:07 Justin Bronder
2018-07-02 15:26 Justin Bronder
2018-06-06  0:49 Matthias Maier
2018-06-05 16:41 Justin Bronder
2018-06-05 16:41 Justin Bronder
2018-06-05 16:41 Justin Bronder
2018-06-05 16:41 Justin Bronder
2018-06-05 16:41 Justin Bronder
2017-09-22 16:20 Justin Bronder
2017-05-10 20:23 Justin Bronder
2017-03-23  0:26 Justin Bronder
2017-03-22 20:18 Justin Bronder
2017-03-22 16:36 Justin Bronder
2017-03-22 16:36 Justin Bronder
2017-02-01 14:03 Justin Bronder
2016-11-10 21:09 Justin Bronder
2016-11-10 21:09 Justin Bronder
2016-11-08 18:26 Justin Bronder
2016-09-08 20:18 Christoph Junghans
2016-08-29 20:45 Justin Bronder
2016-08-29 20:45 Justin Bronder
2016-08-29 20:45 Justin Bronder
2016-08-11 13:12 Justin Bronder
2016-08-11 13:12 Justin Bronder
2016-02-11  2:05 Justin Bronder
2015-11-21 15:14 Christoph Junghans
2015-11-03 23:53 Christoph Junghans
2015-09-23 22:01 Justin Bronder
2015-09-23 12:48 Justin Lecher
2015-08-06 19:53 Justin Bronder
2015-07-16 23:16 Justin Bronder
2015-07-16 23:11 Justin Bronder
2015-06-22 15:17 Justin Bronder
2015-05-12 22:08 Justin Bronder
2015-04-20 16:39 Justin Bronder
2015-04-20 16:29 Justin Bronder
2015-02-22 20:29 Christoph Junghans
2015-02-21 20:05 Christoph Junghans
2015-02-20 22:42 Christoph Junghans
2015-02-19 18:00 Christoph Junghans
2015-02-18 16:41 Justin Lecher
2015-02-17  0:13 Christoph Junghans
2014-10-16 15:50 Christoph Junghans
2014-06-03  1:39 Justin Bronder
2014-01-18  7:39 Justin Lecher
2014-01-18  7:38 Justin Lecher
2013-07-11  0:32 Justin Bronder
2013-07-02  2:15 Justin Bronder
2013-04-09  0:18 Justin Bronder
2013-01-10  1:53 Justin Bronder
2011-08-15 17:23 Kacper Kowalik
2011-08-14  9:46 Kacper Kowalik
2011-06-24 17:09 Justin Lecher
2011-06-21 11:54 Justin Lecher
2011-03-22 17:45 Justin Bronder
2011-03-22 14:22 Justin Bronder
2011-03-22  1:06 Justin Bronder
2011-03-22  0:44 Justin Bronder
2011-03-14 21:20 Justin Bronder

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=1424451345.e3636e5fd50334e2319f42059a2ff8d72610db20.ottxor@gentoo \
    --to=ottxor@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