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.60) (envelope-from ) id 1QYWti-0000I9-Rh for garchives@archives.gentoo.org; Mon, 20 Jun 2011 05:19:43 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 715631C03A; Mon, 20 Jun 2011 05:19:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2FE531C047 for ; Mon, 20 Jun 2011 05:19:35 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ACE0B1B4033 for ; Mon, 20 Jun 2011 05:19:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id CFB8C8003E for ; Mon, 20 Jun 2011 05:19:33 +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: <49ad48429625dd97ff7947040c200ba721393c56.bicatali@gentoo> Subject: [gentoo-commits] dev/bicatali:master commit in: sci-libs/acml/ X-VCS-Repository: dev/bicatali X-VCS-Files: sci-libs/acml/Manifest sci-libs/acml/acml-4.4.0-r1.ebuild X-VCS-Directories: sci-libs/acml/ X-VCS-Committer: bicatali X-VCS-Committer-Name: Sebastien Fabbro X-VCS-Revision: 49ad48429625dd97ff7947040c200ba721393c56 Date: Mon, 20 Jun 2011 05:19:33 +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: X-Archives-Hash: df09d59125632d7b56e57c0ad8ec1972 commit: 49ad48429625dd97ff7947040c200ba721393c56 Author: S=C3=A9bastien Fabbro gentoo org> AuthorDate: Sun Jun 19 16:37:53 2011 +0000 Commit: Sebastien Fabbro gentoo org> CommitDate: Sun Jun 19 16:37:53 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/bicatali.git;a= =3Dcommit;h=3D49ad4842 fixed linking for profiles --- sci-libs/acml/Manifest | 2 +- sci-libs/acml/acml-4.4.0-r1.ebuild | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sci-libs/acml/Manifest b/sci-libs/acml/Manifest index c317b88..1ccc9e9 100644 --- a/sci-libs/acml/Manifest +++ b/sci-libs/acml/Manifest @@ -12,6 +12,6 @@ DIST acml-4-4-0-open64-64bit.tgz 42812747 RMD160 aa29a6= 15cf2b3294294162ccb89e9ad DIST acml-4-4-0-pgi-32bit.tgz 24562671 RMD160 78677d7f178e725ebe086d9690= c8ee72026929ba SHA1 cc0ceff8e8f5cb4a15175e2256c8708a8a7d2fb6 SHA256 f956b= 3fdd3e825c4b993a16179a8df2f772eda851aa4dd7f4a16fffb20c10580 DIST acml-4-4-0-pgi-64bit-int64.tgz 78664596 RMD160 2a0e9af1eef74009dce2= a256d4da8382baf39133 SHA1 6648385c614d367bd18e29eb60be3f99df07ae1e SHA256= f1290edb9c5a91b667139ae4e8eec2486e7ccd3f2aa19f7f65667eef0d85eca0 DIST acml-4-4-0-pgi-64bit.tgz 77842523 RMD160 e4c6770837f9eb511999872d28= 0715e6827b5f65 SHA1 2087b20359d72b2e7886b12356d4da0d2d563503 SHA256 9c07d= c0b90e9e491a0ddcf7849690338f21011aa4aa197ff3408f32a0b3fd6cf -EBUILD acml-4.4.0-r1.ebuild 3631 RMD160 6869ffc9e4c06d3a04a21a71c2edf97d= 65249c76 SHA1 faf7da945643f1f672c88c2f8d4fcd90161eb49e SHA256 c40d93e96ff= 6ff8aa74fc21b4b718fcb5b39c449e62123f113780d22ae87372c +EBUILD acml-4.4.0-r1.ebuild 3646 RMD160 d65690d7b794603676fc1c22f6654bc1= c732160b SHA1 edba606988b336aa4a788d81d883fe5271547f93 SHA256 41573d60d41= 485c39988d3b3fbab68612ad7917436c2acc35db32f91e715b706 MISC ChangeLog 8614 RMD160 709ed6a62bb652c14fd8fc96de3649bc24d9d973 SHA1= 403bc7772bd5b7a469de7fff883f2b06271e2397 SHA256 a3e7541d8b8bc2fb74376927= 2649792f32f7df016ca04c425f6ef21799c38184 MISC metadata.xml 1346 RMD160 df635430c989552278e7e2d262fbb32ffd11f99e S= HA1 e1432a7d071c4f1ae567c7d0fe6708e46ceac4df SHA256 5e41050f4380164e761f8= 36c29c818176cf23d239dc1e5aa29e4702cbbe85042 diff --git a/sci-libs/acml/acml-4.4.0-r1.ebuild b/sci-libs/acml/acml-4.4.= 0-r1.ebuild index 982e6c8..65fcc3d 100644 --- a/sci-libs/acml/acml-4.4.0-r1.ebuild +++ b/sci-libs/acml/acml-4.4.0-r1.ebuild @@ -66,7 +66,7 @@ src_test() { src_install() { # install libraries, pkgconfig file and eselect files for each profile # fdef will be the default (gfortran if available) to be in path - local prof libs fdir libdir=3D$(get_libdir) x fdef + local prof libs fdir libdir x fdef for fdir in */lib; do fdir=3D$(dirname ${fdir}) prof=3Dacml$(echo ${fdir} | sed \ @@ -77,8 +77,7 @@ src_install() { use static-libs || rm -f ${fdir}/lib/*.a dodir /${ACML_INST_DIR} cp -pPR ${fdir} "${ED}"/${ACML_INST_DIR} - libs=3D"$(find ${fdir} -name \*.so | \ - sed -e "s:${fdir}/lib\(.*\).so:-l\1:")" + libs=3D"$(find ${fdir} -name \*.so -printf '%f ' | sed -e 's:lib:-l:g'= -e 's:\.so::g')" cat <<-EOF > ${prof}.pc prefix=3D${EPREFIX}/${ACML_INST_DIR}/${fdir} libdir=3D\${prefix}/lib @@ -90,6 +89,7 @@ src_install() { Libs: -L\${libdir} ${libs} Cflags: -I\${includedir} EOF + libdir=3D$(get_libdir) has_multilib_profile && [[ ${fdir} =3D=3D *32* ]] && libdir=3Dlib32 insinto /usr/${libdir}/pkgconfig doins ${prof}.pc