commit:     c915fa2f7ff06bfb150e329372ac06947f5b20fb
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Thu Feb  5 20:45:30 2026 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Thu Feb  5 21:05:40 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c915fa2f

www-client/badwolf: sync live

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 www-client/badwolf/badwolf-9999-r1.ebuild | 26 +++++++++++++++-----------
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/www-client/badwolf/badwolf-9999-r1.ebuild 
b/www-client/badwolf/badwolf-9999-r1.ebuild
index cd93afec7b..35acb03c95 100644
--- a/www-client/badwolf/badwolf-9999-r1.ebuild
+++ b/www-client/badwolf/badwolf-9999-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2019-2025 Gentoo Authors
+# Copyright 2019-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit xdg ninja-utils
+inherit edo ninja-utils toolchain-funcs xdg
 
 if [[ "${PV}" == "9999" ]]
 then
@@ -29,17 +29,18 @@ SLOT="0"
 
 DOCS=("README.md" "KnowledgeBase.md")
 
-IUSE="test"
-RESTRICT="!test? ( test )"
-
 DEPEND="
-       dev-libs/glib
+       dev-libs/glib:2
        dev-libs/libxml2:=
        x11-libs/gtk+:3
        net-libs/webkit-gtk:4.1=
 "
 RDEPEND="${DEPEND}"
-BDEPEND="test? ( app-text/mandoc )"
+BDEPEND="
+       app-alternatives/ninja
+       sys-devel/gettext
+       virtual/pkgconfig
+"
 
 if [[ "${PV}" != "9999" ]]
 then
@@ -62,15 +63,18 @@ fi
 src_configure() {
        [[ "${PV}" == "9999" ]] || restore_config config.h
 
-       CC="${CC:-cc}" \
-       PKGCONFIG="${PKG_CONFIG:-pkg-config}" \
+       # https://hacktivis.me/git/badwolf/file/configure.html:L444
+       # ./locale dir doesn't exist with ENABLE_NLS=0, leading to install 
failure
+       ENABLE_NLS=1 \
+       CC="$(tc-getCC)" \
+       PKG_CONFIG="$(tc-getPKG_CONFIG)" \
        CMD_ED="false" \
-       CFLAGS="${CFLAGS:--02 -Wall -Wextra}" \
+       CFLAGS="${CFLAGS:--O2 -Wall -Wextra}" \
        LDFLAGS="${LDFLAGS}" \
        DOCDIR="/usr/share/doc/${PF}" \
        WITH_WEBKITGTK="4.1" \
        PREFIX="/usr" \
-       ./configure || die
+       edo ./configure
 }
 
 src_compile() {

Reply via email to