From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 01D63138334 for ; Sun, 20 Oct 2019 13:23:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 429F6E096B; Sun, 20 Oct 2019 13:23:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 28FF3E096B for ; Sun, 20 Oct 2019 13:23:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D6D9634C0A8 for ; Sun, 20 Oct 2019 13:23:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 553D376A for ; Sun, 20 Oct 2019 13:23:16 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1571577733.efd16ef7feee4548d53c8227a7b0f1b85ff2d58d.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/hdf5/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/hdf5/hdf5-1.10.5.ebuild X-VCS-Directories: sci-libs/hdf5/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: efd16ef7feee4548d53c8227a7b0f1b85ff2d58d X-VCS-Branch: master Date: Sun, 20 Oct 2019 13:23:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c82da2ac-0d94-4591-aef0-6d45cf44415a X-Archives-Hash: 6309e9b611a9f0177f25cb3bc812fdca commit: efd16ef7feee4548d53c8227a7b0f1b85ff2d58d Author: Alessandro Barbieri gmail com> AuthorDate: Sun Oct 6 23:24:00 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Oct 20 13:22:13 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd16ef7 sci-libs/hdf5: disable static libraries Closes: https://bugs.gentoo.org/694128 Closes: https://github.com/gentoo/gentoo/pull/13061 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Alessandro Barbieri gmail.com> Signed-off-by: David Seifert gentoo.org> sci-libs/hdf5/hdf5-1.10.5.ebuild | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild index a3c248db158..deaec088dd1 100644 --- a/sci-libs/hdf5/hdf5-1.10.5.ebuild +++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild @@ -17,7 +17,7 @@ SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P LICENSE="NCSA-HDF" SLOT="0/${PV%%_p*}" KEYWORDS="alpha amd64 ~arm arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib" +IUSE="cxx debug examples fortran +hl mpi szip threads zlib" REQUIRED_USE=" cxx? ( !mpi ) mpi? ( !cxx ) @@ -79,10 +79,11 @@ src_prepare() { src_configure() { econf \ + --disable-static \ --enable-deprecated-symbols \ - $(use debug && echo --enable-build-mode=debug || echo --enable-build-mode=production) \ - $(use_enable debug codestack) \ + --enable-build-mode=$(usex debug debug production) \ $(use_enable cxx) \ + $(use_enable debug codestack) \ $(use_enable fortran) \ $(use_enable hl) \ $(use_enable mpi parallel) \ @@ -91,3 +92,10 @@ src_configure() { $(use_with threads pthread) \ $(use_with zlib) } + +src_install() { + default + + # no static archives + find "${D}" -name '*.la' -delete || die +}