commit:     910e9cf3909430b7e21b3f0484d3adf5d58981e5
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Thu Feb 13 07:48:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Feb 13 08:06:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=910e9cf3

net-irc/iroffer-dinoex: update EAPI 7 -> 8, fix build on musl

USE=debug enables profiling, it passes `-pr` flag to linker.
Musl doesn't support this flag, and package tries to link against
missing glibc library.

Closes: https://bugs.gentoo.org/897864
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r2.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r2.ebuild 
b/net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r2.ebuild
index 2c9940d22b0b..8a901ee156d1 100644
--- a/net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r2.ebuild
+++ b/net-irc/iroffer-dinoex/iroffer-dinoex-3.32-r2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 PLOCALES="de en fr it"
 PLOCALE_BACKUP="en"
@@ -56,7 +56,7 @@ src_configure() {
        do_configure \
                PREFIX="${EPREFIX}/usr" \
                CC="$(tc-getCC)" \
-               $(usex debug '-profiling' '' '' '')\
+               $(!use elibc_musl && usex debug '-profiling' '' '' '')\
                $(usex debug '-debug' '' '' '')\
                $(usex geoip '-geoip' '' '' '')\
                $(usex chroot '' '-no-chroot' '' '')\

Reply via email to