From: "Jens-Malte Gottfried" <jmg@godefridus.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/petsc/files/, sci-mathematics/petsc/
Date: Tue, 6 Mar 2012 23:09:24 +0000 (UTC) [thread overview]
Message-ID: <1331075329.2b3b883f45078a95cc0fc07f3cd9b2104575e6b5.jmg@gentoo> (raw)
commit: 2b3b883f45078a95cc0fc07f3cd9b2104575e6b5
Author: Jens-Malte Gottfried <jmgottfried <AT> web <DOT> de>
AuthorDate: Tue Mar 6 23:08:49 2012 +0000
Commit: Jens-Malte Gottfried <jmg <AT> godefridus <DOT> de>
CommitDate: Tue Mar 6 23:08:49 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2b3b883f
fixed petsc 3.1 ebuild (missing patch files)
---
sci-mathematics/petsc/ChangeLog | 5 +++++
.../petsc/files/petsc-3.1_p8-configure-pic.patch | 11 +++++++++++
.../petsc/files/petsc-3.1_p8-disable-rpath.patch | 16 ++++++++++++++++
sci-mathematics/petsc/petsc-3.1_p8-r1.ebuild | 5 +++--
4 files changed, 35 insertions(+), 2 deletions(-)
diff --git a/sci-mathematics/petsc/ChangeLog b/sci-mathematics/petsc/ChangeLog
index 5d1f4a9..4bc96b9 100644
--- a/sci-mathematics/petsc/ChangeLog
+++ b/sci-mathematics/petsc/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 06 Mar 2012; Jens-Malte Gottfried <jmgottfried@web.de>
+ petsc-3.1_p8-r1.ebuild, +files/petsc-3.1_p8-configure-pic.patch,
+ +files/petsc-3.1_p8-disable-rpath.patch:
+ fixed legacy ebuild of petsc 3.1
+
05 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> petsc-3.2_p6.ebuild,
+files/petsc-3.2_p6-configure-pic.patch,
+files/petsc-3.2_p6-disable-env-warnings.patch,
diff --git a/sci-mathematics/petsc/files/petsc-3.1_p8-configure-pic.patch b/sci-mathematics/petsc/files/petsc-3.1_p8-configure-pic.patch
new file mode 100644
index 0000000..bbfdae1
--- /dev/null
+++ b/sci-mathematics/petsc/files/petsc-3.1_p8-configure-pic.patch
@@ -0,0 +1,11 @@
+--- config/BuildSystem/config/setCompilers.py.old 2010-09-07 21:41:32.693103846 +0200
++++ config/BuildSystem/config/setCompilers.py 2010-09-07 21:41:45.322093881 +0200
+@@ -875,7 +875,7 @@
+ languages.append('FC')
+ for language in languages:
+ self.pushLanguage(language)
+- for testFlag in ['-PIC', '-fPIC', '-KPIC','-qpic']:
++ for testFlag in ['-fPIC', '-PIC', '-KPIC', '-qpic']:
+ try:
+ self.framework.logPrint('Trying '+language+' compiler flag '+testFlag)
+ if not self.checkLinkerFlag(testFlag):
diff --git a/sci-mathematics/petsc/files/petsc-3.1_p8-disable-rpath.patch b/sci-mathematics/petsc/files/petsc-3.1_p8-disable-rpath.patch
new file mode 100644
index 0000000..3c443b2
--- /dev/null
+++ b/sci-mathematics/petsc/files/petsc-3.1_p8-disable-rpath.patch
@@ -0,0 +1,16 @@
+--- config/BuildSystem/config/setCompilers.py 2010-11-24 18:01:17.110124425 +0100
++++ config/BuildSystem/config/setCompilers.py 2010-11-24 18:02:28.710104226 +0100
+@@ -1186,12 +1186,7 @@
+ for language in languages:
+ flag = '-L'
+ self.pushLanguage(language)
+- # test '-R' before '-rpath' as sun compilers [c,fortran] don't give proper errors with wrong options.
+- if not Configure.isDarwin():
+- testFlags = ['-Wl,-rpath,', '-R','-rpath ' , '-Wl,-R,']
+- else:
+- testFlags = []
+- # test '-R' before '-Wl,-rpath' for SUN compilers [as cc on linux accepts -Wl,-rpath, but f90 & CC do not.
++ testFlags = []
+ if self.isSun(self.framework.getCompiler()):
+ testFlags.insert(0,'-R')
+ for testFlag in testFlags:
diff --git a/sci-mathematics/petsc/petsc-3.1_p8-r1.ebuild b/sci-mathematics/petsc/petsc-3.1_p8-r1.ebuild
index 5de7a82..818cff1 100644
--- a/sci-mathematics/petsc/petsc-3.1_p8-r1.ebuild
+++ b/sci-mathematics/petsc/petsc-3.1_p8-r1.ebuild
@@ -37,8 +37,9 @@ if use hypre; then
fi
src_prepare(){
- epatch "${FILESDIR}/${PN}-configure-pic.patch"
- epatch "${FILESDIR}/${PN}-disable-rpath.patch"
+ epatch \
+ "${FILESDIR}"/${P}-configure-pic.patch \
+ "${FILESDIR}"/${P}-disable-rpath.patch
}
src_configure(){
next reply other threads:[~2012-03-06 23:09 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 23:09 Jens-Malte Gottfried [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-08-05 6:52 [gentoo-commits] proj/sci:master commit in: sci-mathematics/petsc/files/, sci-mathematics/petsc/ Matthias Maier
2019-07-12 11:19 Matthias Maier
2018-08-31 15:39 Matthias Maier
2018-04-23 1:21 Matthias Maier
2015-03-14 8:21 Justin Lecher
2015-03-14 8:21 Justin Lecher
2014-07-24 21:50 Jens-Malte Gottfried
2013-10-18 16:19 Christoph Junghans
2013-02-22 10:15 Justin Lecher
2013-02-09 18:30 Jens-Malte Gottfried
2013-01-07 22:06 Jens-Malte Gottfried
2013-01-07 21:58 Jens-Malte Gottfried
2012-06-28 8:25 Jens-Malte Gottfried
2012-06-09 6:16 Jens-Malte Gottfried
2012-03-05 23:09 Sebastien Fabbro
2012-03-04 12:38 Jens-Malte Gottfried
2012-03-01 17:54 Jens-Malte Gottfried
2011-03-19 12:05 Jens-Malte Gottfried
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=1331075329.2b3b883f45078a95cc0fc07f3cd9b2104575e6b5.jmg@gentoo \
--to=jmg@godefridus.de \
--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