From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.77) (envelope-from ) id 1SpQEn-0002fY-Mw for garchives@archives.gentoo.org; Thu, 12 Jul 2012 20:43:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B2991E0682; Thu, 12 Jul 2012 20:43:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 70817E067D for ; Thu, 12 Jul 2012 20:43:22 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9AEFF1B4060 for ; Thu, 12 Jul 2012 20:43:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 5CF33E5433 for ; Thu, 12 Jul 2012 20:43:20 +0000 (UTC) From: "Sebastien Fabbro" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastien Fabbro" Message-ID: <1342107830.3bfe9db4f84571c965e6712a05be90a4a6bd9be9.bicatali@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/mumps/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/mumps/ChangeLog sci-libs/mumps/mumps-4.10.0.ebuild X-VCS-Directories: sci-libs/mumps/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 3bfe9db4f84571c965e6712a05be90a4a6bd9be9 X-VCS-Branch: master Date: Thu, 12 Jul 2012 20:43:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 991cffb2-05c2-4916-ac73-4fecd1d18223 X-Archives-Hash: 6374c33c314557574af270b3124b2abc commit: 3bfe9db4f84571c965e6712a05be90a4a6bd9be9 Author: Sebastien Fabbro uvic ca> AuthorDate: Thu Jul 12 15:43:50 2012 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Thu Jul 12 15:43:50 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D3bfe9db4 sci-libs/mumps: prefix love (Portage version: 2.2.01.20757-prefix/git/Linux x86_64, unsigned Manifest= commit) --- sci-libs/mumps/ChangeLog | 4 +++- sci-libs/mumps/mumps-4.10.0.ebuild | 32 +++++++++++++++++++++---------= -- 2 files changed, 24 insertions(+), 12 deletions(-) diff --git a/sci-libs/mumps/ChangeLog b/sci-libs/mumps/ChangeLog index 93973ef..4f22cd1 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: $ =20 + 12 Jul 2012; S=C3=A9bastien Fabbro mumps-4.10.0.= ebuild: + sci-libs/mumps: prefix love + 13 Mar 2012; S=C3=A9bastien Fabbro mumps-4.10.0.= ebuild, metadata.xml: Fixed for sequential (non mpi) libraries @@ -18,4 +21,3 @@ 01 Jun 2011; S=C3=A9bastien Fabbro +mumps-4.10.0= .ebuild, +metadata.xml: Initial import - diff --git a/sci-libs/mumps/mumps-4.10.0.ebuild b/sci-libs/mumps/mumps-4.= 10.0.ebuild index dc6a62d..a148f55 100644 --- a/sci-libs/mumps/mumps-4.10.0.ebuild +++ b/sci-libs/mumps/mumps-4.10.0.ebuild @@ -13,7 +13,7 @@ SRC_URI=3D"${HOMEPAGE}${MYP}.tar.gz" =20 LICENSE=3D"public-domain" SLOT=3D"0" -KEYWORDS=3D"~amd64 ~x86" +KEYWORDS=3D"~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE=3D"doc examples metis mpi +scotch static-libs" =20 RDEPEND=3D"virtual/blas @@ -24,20 +24,30 @@ RDEPEND=3D"virtual/blas =20 DEPEND=3D"${RDEPEND} virtual/fortran - dev-util/pkgconfig" + virtual/pkgconfig" =20 S=3D"${WORKDIR}/${MYP}" =20 make_shared_lib() { local libstatic=3D${1} - local soname=3D$(basename "${1%.a}").so.$(get_major_version) - shift - einfo "Making ${soname}" - ${LINK:-$(tc-getCC)} ${LDFLAGS} \ - -shared -Wl,-soname=3D"${soname}" \ - -Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \ - "$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed= " - ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}" + if [[ ${CHOST} =3D=3D *-darwin* ]] ; then + local dylibname=3D$(basename "${1%.a}").dylib + shift + einfo "Making ${dylibname}" + ${LINK:-$(tc-getCC)} ${LDFLAGS} \ + -dynamiclib -install_name "${EPREFIX}"/usr/lib/"${dylibname}" \ + -Wl,-all_load -Wl,"${libstatic}" \ + "$@" -o $(dirname "${libstatic}")/"${dylibname}" || die + else + local soname=3D$(basename "${1%.a}").so.${LIBVER} + shift + einfo "Making ${soname}" + ${LINK:-$(tc-getCC)} ${LDFLAGS} \ + -shared -Wl,-soname=3D"${soname}" \ + -Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \ + "$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} faile= d" + ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}" + fi } =20 src_prepare() { @@ -138,7 +148,7 @@ src_test() { } =20 src_install() { - dolib.so lib/lib*.so* + dolib.so lib/lib*$(get_libname)* use static-libs && dolib.a lib/lib*.a insinto /usr doins -r include