commit:     1ab1496a0625e732f0f3f725387a739d5b6d3c01
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  3 09:35:21 2025 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Mar  3 09:35:21 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab1496a

sys-fs/duperemove: avoid -std=c23 in CFLAGS

Bug: https://bugs.gentoo.org/949339
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-fs/duperemove/duperemove-0.15.1.ebuild | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

diff --git a/sys-fs/duperemove/duperemove-0.15.1.ebuild 
b/sys-fs/duperemove/duperemove-0.15.1.ebuild
index b059ed96dffb..cca07e0d60dc 100644
--- a/sys-fs/duperemove/duperemove-0.15.1.ebuild
+++ b/sys-fs/duperemove/duperemove-0.15.1.ebuild
@@ -28,20 +28,12 @@ DEPEND="
        dev-libs/xxhash
 "
 
-mymake() {
-       # note: CFLAGS has some upstream flags, sigh
-       emake VERSION="${PV}" IS_RELEASE=1 CFLAGS="${CFLAGS} -Wall -std=c23 
-MMD" "${@}"
-}
-
-src_compile() {
+src_configure() {
        tc-export CC PKG_CONFIG
-       mymake
-}
-
-src_test() {
-       mymake test
+       export VERSION="${PV}"
+       export IS_RELEASE=1
 }
 
 src_install() {
-       mymake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
 }

Reply via email to