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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 59BD315808B for ; Sun, 6 Mar 2022 23:11:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2404AE0970; Sun, 6 Mar 2022 23:11:35 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id BBEEDE0970 for ; Sun, 6 Mar 2022 23:11:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 CB58F343324 for ; Sun, 6 Mar 2022 23:11:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 33BC31F1 for ; Sun, 6 Mar 2022 23:11:32 +0000 (UTC) From: "Sergey Torokhov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergey Torokhov" Message-ID: <1646608123.99272340c56fe3cfa36bcda8e6e66f02ca9aacc9.SergeyTorokhov@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ftl/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/ftl/ftl-1.0_p20220209-r1.ebuild dev-libs/ftl/ftl-1.0_p20220209.ebuild X-VCS-Directories: dev-libs/ftl/ X-VCS-Committer: SergeyTorokhov X-VCS-Committer-Name: Sergey Torokhov X-VCS-Revision: 99272340c56fe3cfa36bcda8e6e66f02ca9aacc9 X-VCS-Branch: dev Date: Sun, 6 Mar 2022 23:11:32 +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: ac2ab6fb-04ff-43c3-8a3c-2576b7c6a642 X-Archives-Hash: 09d0662804f0b33e72dafae008ba9f0a commit: 99272340c56fe3cfa36bcda8e6e66f02ca9aacc9 Author: Sergey Torokhov yandex ru> AuthorDate: Sun Mar 6 23:03:10 2022 +0000 Commit: Sergey Torokhov yandex ru> CommitDate: Sun Mar 6 23:08:43 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99272340 dev-libs/ftl: Add fortran-2_pkg_setup, LDFLAGS; fix install BUILD type Closes: https://bugs.gentoo.org/833321 Closes: https://bugs.gentoo.org/833318 Signed-off-by: Sergey Torokhov yandex.ru> ...1.0_p20220209.ebuild => ftl-1.0_p20220209-r1.ebuild} | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/dev-libs/ftl/ftl-1.0_p20220209.ebuild b/dev-libs/ftl/ftl-1.0_p20220209-r1.ebuild similarity index 76% rename from dev-libs/ftl/ftl-1.0_p20220209.ebuild rename to dev-libs/ftl/ftl-1.0_p20220209-r1.ebuild index f980fa998..2b3912325 100644 --- a/dev-libs/ftl/ftl-1.0_p20220209.ebuild +++ b/dev-libs/ftl/ftl-1.0_p20220209-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,6 +23,11 @@ RDEPEND="pcre? ( dev-libs/libpcre:3 )" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" +# Checking of supported fortran standard version is required here +pkg_setup() { + fortran-2_pkg_setup +} + get_platform() { case $(tc-getFC) in *gfortran*) echo "gnu" ;; @@ -32,6 +37,13 @@ get_platform() { esac } +src_prepare() { + default + + # Pass LDFLAGS to respect it + sed -i '/SOLDFLAGS =/ s/$/ '"${LDFLAGS}"'/' makefile || die +} + src_configure() { filter-flags -fpch-preprocess } @@ -61,6 +73,7 @@ src_test() { } src_install() { - emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR=$(get_libdir) install + # Set BUILD to custom as default type is debug + emake BUILD=custom DESTDIR="${D}" PREFIX="${EPREFIX}"/usr LIBDIR=$(get_libdir) install einstalldocs }