sys-apps/edac-utils: drop USE=debug

It does two things:
1) define -DNDEBUG if off, which is used by list.c;
2) sets -pedantic -Werror

Given edac-utils is dead, I doubt 1) is that important, and 2) is causing
issues, drop it.

Also, cleanup now-redundant src_configure as w/ EAPI 8, we get --disable-static
for free.

Closes: https://bugs.gentoo.org/888938
Closes: https://bugs.gentoo.org/898544
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James 2025-08-20 09:06:30 +01:00
parent 84f1ceaabb
commit 052f710386
No known key found for this signature in database
GPG Key ID: 738409F520DF9190

View File

@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors # Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
EAPI=8 EAPI=8
@ -12,7 +12,6 @@ SRC_URI="https://github.com/grondo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="amd64 ~arm64" KEYWORDS="amd64 ~arm64"
IUSE="debug"
DEPEND="sys-fs/sysfsutils" DEPEND="sys-fs/sysfsutils"
RDEPEND="${DEPEND} RDEPEND="${DEPEND}
@ -37,12 +36,6 @@ src_prepare() {
eautoreconf eautoreconf
} }
src_configure() {
econf \
--disable-static \
$(use_enable debug)
}
src_install() { src_install() {
default default