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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B61C158041 for ; Wed, 27 Mar 2024 04:52:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 025B6E2A36; Wed, 27 Mar 2024 04:52:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AFC22E2A36 for ; Wed, 27 Mar 2024 04:52:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B9D8834309C for ; Wed, 27 Mar 2024 04:52:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C9E9C15F6 for ; Wed, 27 Mar 2024 04:52:11 +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: <1711514987.94513b4963654fc66f22f70db5a797f86bb79546.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild X-VCS-Directories: sci-libs/netcdf-cxx/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 94513b4963654fc66f22f70db5a797f86bb79546 X-VCS-Branch: master Date: Wed, 27 Mar 2024 04:52:11 +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: 73ac389a-29cd-4d67-9f58-521cbdf5e1aa X-Archives-Hash: cc70731d91fde877a55424216bcc6582 commit: 94513b4963654fc66f22f70db5a797f86bb79546 Author: Eli Schwartz gmail com> AuthorDate: Wed Mar 27 04:29:26 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Mar 27 04:49:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94513b49 sci-libs/netcdf-cxx: make sure elibtoolize is applied Since the libtool available for 4.2 is very old, that means running a full eautoreconf. Needed to e.g. pass LTO warning flags through to the linker. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild | 9 ++++++++- sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild | 9 ++++++++- sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild | 9 ++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild index 897094334974..04c76791f47d 100644 --- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild +++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit autotools + DESCRIPTION="C++ library for netCDF" HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz" @@ -15,6 +17,11 @@ IUSE="examples" RDEPEND=">=sci-libs/netcdf-4.2:0=" DEPEND="${RDEPEND}" +src_prepare() { + default + eautoreconf +} + src_configure() { econf --disable-static } diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild index a628593681d9..1a1079b72566 100644 --- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild +++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 +inherit libtool + MYP=${PN}4-${PV} DESCRIPTION="C++ library for netCDF" HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" @@ -24,6 +26,11 @@ PATCHES=( "${FILESDIR}"/${P}-slibtool.patch ) +src_prepare() { + default + elibtoolize +} + src_install() { default use examples && dodoc -r examples diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild index 243ba75a2e3a..559d4d5483dc 100644 --- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild +++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 +inherit libtool + MYP=${PN}4-${PV} DESCRIPTION="C++ library for netCDF" HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" @@ -24,6 +26,11 @@ PATCHES=( "${FILESDIR}"/${P}-slibtool.patch ) +src_prepare() { + default + elibtoolize +} + src_configure() { econf --disable-static }