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 1EFCD158086 for ; Tue, 12 Oct 2021 06:52:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06182E0817; Tue, 12 Oct 2021 06:52:37 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2118E0817 for ; Tue, 12 Oct 2021 06:52:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3C443433AA for ; Tue, 12 Oct 2021 06:52:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59DBD8E for ; Tue, 12 Oct 2021 06:52:34 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1634021544.225b7ee7e532e58f541e30fbb95d4b193b50236f.sam@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.12.1-r1.ebuild X-VCS-Directories: sci-libs/hdf5/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 225b7ee7e532e58f541e30fbb95d4b193b50236f X-VCS-Branch: master Date: Tue, 12 Oct 2021 06:52:34 +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: 005fafaa-1874-439a-aec0-7130f5a18770 X-Archives-Hash: 1976a91f6352c61c45f70e491740312b commit: 225b7ee7e532e58f541e30fbb95d4b193b50236f Author: Sam James gentoo org> AuthorDate: Tue Oct 12 06:51:57 2021 +0000 Commit: Sam James gentoo org> CommitDate: Tue Oct 12 06:52:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=225b7ee7 sci-libs/hdf5: workaround build failure with older hdf5 installed Thanks to upstream for the helpful suggestion! Bug: https://github.com/HDFGroup/hdf5/issues/1027 Closes: https://bugs.gentoo.org/808633 Signed-off-by: Sam James gentoo.org> sci-libs/hdf5/hdf5-1.12.1-r1.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild index 9a0d092cd1f..a445755a129 100644 --- a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild +++ b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild @@ -67,6 +67,10 @@ pkg_setup() { src_configure() { local mycmakeargs=( + # Workaround needed to allow build with USE=fortran when an older + # version is installed. See bug #808633 and + # https://github.com/HDFGroup/hdf5/issues/1027 upstream. + -DCMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE=ON -DBUILD_STATIC_LIBS=OFF -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DHDF5_BUILD_EXAMPLES=OFF