From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/mumps/
Date: Fri, 13 Jul 2012 04:45:44 +0000 (UTC) [thread overview]
Message-ID: <1342154722.c0c835cdafcd0fac065441eface9ecb62e478841.bicatali@gentoo> (raw)
commit: c0c835cdafcd0fac065441eface9ecb62e478841
Author: Sebastien Fabbro <sfabbro <AT> uvic <DOT> ca>
AuthorDate: Fri Jul 13 04:45:22 2012 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Fri Jul 13 04:45:22 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c0c835cd
sci-libs/mumps: fix underlinking for sequential library
(Portage version: 2.2.01.20757-prefix/git/Linux x86_64, unsigned Manifest commit)
---
sci-libs/mumps/ChangeLog | 3 +++
sci-libs/mumps/mumps-4.10.0.ebuild | 6 ++++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/sci-libs/mumps/ChangeLog b/sci-libs/mumps/ChangeLog
index 7c1bd5b..63d6469 100644
--- a/sci-libs/mumps/ChangeLog
+++ b/sci-libs/mumps/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 13 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> mumps-4.10.0.ebuild:
+ sci-libs/mumps: fix underlinking for sequential library
+
12 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> mumps-4.10.0.ebuild:
sci-libs/mumps: Shared library fixes and prefix love
diff --git a/sci-libs/mumps/mumps-4.10.0.ebuild b/sci-libs/mumps/mumps-4.10.0.ebuild
index c5ba564..63d72fd 100644
--- a/sci-libs/mumps/mumps-4.10.0.ebuild
+++ b/sci-libs/mumps/mumps-4.10.0.ebuild
@@ -65,7 +65,6 @@ src_prepare() {
-e "s:^\(OPTL\s*=\).*:\1${LDFLAGS}:" \
Make.inc/Makefile.inc.generic > Makefile.inc || die
# fixed a missing copy of libseq to libdir
-
}
src_configure() {
@@ -114,8 +113,11 @@ src_configure() {
sed -i \
-e 's:-Llibseq:-L$(topdir)/libseq:' \
-e 's:PAR):SEQ):g' \
+ -e "s:^\(SCALAP\s*=\).*:\1:" \
-e 's:^LIBSEQNEEDED =:LIBSEQNEEDED = libseqneeded:g' \
Makefile.inc || die
+ LIBADD="${LIBADD} -Llibseq -lmpiseq"
+ export LINK="$(tc-getFC)"
fi
sed -i -e "s:^\s*\(ORDERINGSF\s*=\).*:\1 ${ord}:" Makefile.inc || die
}
@@ -125,7 +127,7 @@ src_compile() {
static_to_shared lib/libmumps_common.a ${LIBADD}
local i
for i in c d s z; do
- static_to_shared lib/lib${i}mumps.a -Llib -lmumps_common
+ static_to_shared lib/lib${i}mumps.a -Llib -lmumps_common ${LIBADD}
done
if use static-libs; then
emake clean
next reply other threads:[~2012-07-13 4:45 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-13 4:45 Sebastien Fabbro [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-05-12 19:25 [gentoo-commits] proj/sci:master commit in: sci-libs/mumps/ Sebastien Fabbro
2013-06-18 9:07 Justin Lecher
2012-12-11 20:11 Sebastien Fabbro
2012-07-15 20:19 Sebastien Fabbro
2012-07-15 20:19 Sebastien Fabbro
2012-07-12 20:43 Sebastien Fabbro
2012-07-12 20:43 Sebastien Fabbro
2012-03-13 0:56 Sebastien Fabbro
2012-03-13 0:56 Sebastien Fabbro
2012-03-12 16:35 Sebastien Fabbro
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=1342154722.c0c835cdafcd0fac065441eface9ecb62e478841.bicatali@gentoo \
--to=bicatali@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