commit: aa08c6df4b83ce03e6328fb3085048fd3b43369c Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> AuthorDate: Fri Apr 18 02:55:34 2025 +0000 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> CommitDate: Fri Apr 18 02:58:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa08c6df
net-analyzer/nagios-plugins: add USE=nls, work around NLS build fail You're never going to guess who reported the new build failure from bug 953411 in September of 2024: https://github.com/nagios-plugins/nagios-plugins/issues/786 Closes: https://bugs.gentoo.org/953411 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> ...ugins-2.4.12-r1.ebuild => nagios-plugins-2.4.12-r2.ebuild} | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r1.ebuild b/net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r2.ebuild similarity index 91% rename from net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r1.ebuild rename to net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r2.ebuild index add6fce1fcec..8a45c8c2046e 100644 --- a/net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r1.ebuild +++ b/net-analyzer/nagios-plugins/nagios-plugins-2.4.12-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/releases/download/release-${PV}/${P}.tar LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" -IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game postgres radius samba selinux snmp ssh +ssl" +IUSE="ipv6 ldap mysql nagios-dns nagios-ping nagios-game nls postgres radius samba selinux snmp ssh +ssl" # Most of the plugins use automagic dependencies, i.e. the plugin will # get built if the binary it uses is installed. For example, check_snmp @@ -88,6 +88,12 @@ src_prepare() { || die 'failed to fix perl interpreter path' eautoreconf + + # eautoreconf replaces $(MKDIR_P) with $(mkdir_p) in + # po/Makefile.in.in. As you might expect, this does not work. + sed -i po/Makefile.in.in \ + -e 's/@mkdir_p@/@MKDIR_P@/' \ + || die } src_configure() { @@ -111,9 +117,10 @@ src_configure() { fi econf \ - $(use_with mysql) \ $(use_with ipv6) \ $(use_with ldap) \ + $(use_with mysql) \ + $(use_enable nls) \ $(use_with postgres pgsql /usr) \ $(use_with radius) \ "${myconf[@]}" \
