commit:     088dac7b26f0e8de29c477c6c2c9c1ab5bed8941
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  6 20:35:42 2024 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Tue Feb  6 20:38:10 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=088dac7b

dev-libs/libfmt: Add lfs flags

Closes: https://github.com/gentoo/gentoo/pull/35205
Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit <AT> chromium.org>
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 dev-libs/libfmt/{libfmt-9999.ebuild => libfmt-10.2.1-r1.ebuild} | 5 +++--
 dev-libs/libfmt/libfmt-9999.ebuild                              | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-libs/libfmt/libfmt-9999.ebuild 
b/dev-libs/libfmt/libfmt-10.2.1-r1.ebuild
similarity index 89%
copy from dev-libs/libfmt/libfmt-9999.ebuild
copy to dev-libs/libfmt/libfmt-10.2.1-r1.ebuild
index 90083087d20e..2dbd37cc402c 100644
--- a/dev-libs/libfmt/libfmt-9999.ebuild
+++ b/dev-libs/libfmt/libfmt-10.2.1-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="Small, safe and fast formatting library"
 HOMEPAGE="https://github.com/fmtlib/fmt";
@@ -23,6 +23,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 src_configure() {
+       append-lfs-flags
        local mycmakeargs=(
                -DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
                -DFMT_LIB_DIR="$(get_libdir)"

diff --git a/dev-libs/libfmt/libfmt-9999.ebuild 
b/dev-libs/libfmt/libfmt-9999.ebuild
index 90083087d20e..2dbd37cc402c 100644
--- a/dev-libs/libfmt/libfmt-9999.ebuild
+++ b/dev-libs/libfmt/libfmt-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="Small, safe and fast formatting library"
 HOMEPAGE="https://github.com/fmtlib/fmt";
@@ -23,6 +23,7 @@ IUSE="test"
 RESTRICT="!test? ( test )"
 
 src_configure() {
+       append-lfs-flags
        local mycmakeargs=(
                -DFMT_CMAKE_DIR="$(get_libdir)/cmake/fmt"
                -DFMT_LIB_DIR="$(get_libdir)"

Reply via email to