commit:     f1fa8796e196423e3242322443fa2d2c7d98a6d2
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Mon Jan  6 23:19:00 2025 +0000
Commit:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Mon Jan  6 23:19:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1fa8796

app-arch/fuse-archive: use flag-o-matic

Signed-off-by: NRK <nrk <AT> disroot.org>

 app-arch/fuse-archive/fuse-archive-1.4.ebuild | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/app-arch/fuse-archive/fuse-archive-1.4.ebuild 
b/app-arch/fuse-archive/fuse-archive-1.4.ebuild
index e26b98368..7db096887 100644
--- a/app-arch/fuse-archive/fuse-archive-1.4.ebuild
+++ b/app-arch/fuse-archive/fuse-archive-1.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit toolchain-funcs flag-o-matic
 
 DESCRIPTION="Read-only FUSE file system for mounting archives and compressed 
files"
 HOMEPAGE="https://github.com/google/fuse-archive";
@@ -35,13 +35,11 @@ src_configure() {
 }
 
 src_compile() {
-       local incpath=""
-       incpath="${incpath} -I../intrusive-${BOOST_VERSION}/include"
-       incpath="${incpath} -I../config-${BOOST_VERSION}/include"
-       incpath="${incpath} -I../assert-${BOOST_VERSION}/include"
-       incpath="${incpath} -I../move-${BOOST_VERSION}/include"
-       emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)" \
-               CPPFLAGS="${incpath} ${CPPFLAGS}"
+       append-cppflags "-I../intrusive-${BOOST_VERSION}/include"
+       append-cppflags "-I../config-${BOOST_VERSION}/include"
+       append-cppflags "-I../assert-${BOOST_VERSION}/include"
+       append-cppflags "-I../move-${BOOST_VERSION}/include"
+       emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
 }
 
 src_install() {

Reply via email to