commit:     027889960310a752b445a25d5b378c502ce72bac
Author:     Francisco Javier Félix <web <AT> inode64 <DOT> com>
AuthorDate: Tue Aug  8 08:38:37 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 03:29:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02788996

sys-power/nut: Fix missing cgi flag in configure

Closes: https://bugs.gentoo.org/908689
Signed-off-by: INODE64 <web <AT> inode64.com>
Closes: https://github.com/gentoo/gentoo/pull/32218
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-power/nut/{nut-2.8.0-r1.ebuild => nut-2.8.0-r2.ebuild} | 1 +
 sys-power/nut/nut-9999.ebuild                              | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys-power/nut/nut-2.8.0-r1.ebuild 
b/sys-power/nut/nut-2.8.0-r2.ebuild
similarity index 99%
rename from sys-power/nut/nut-2.8.0-r1.ebuild
rename to sys-power/nut/nut-2.8.0-r2.ebuild
index a7497d227ba4..be431f111c9e 100644
--- a/sys-power/nut/nut-2.8.0-r1.ebuild
+++ b/sys-power/nut/nut-2.8.0-r2.ebuild
@@ -108,6 +108,7 @@ src_configure() {
                --with-altpidpath=/run/nut
                --with-pidpath=/run/nut
                $(use_enable test cppunit)
+               $(use_with cgi)
                $(use_with i2c linux_i2c)
                $(use_with ipmi freeipmi)
                $(use_with ipmi)

diff --git a/sys-power/nut/nut-9999.ebuild b/sys-power/nut/nut-9999.ebuild
index 1a18e915356e..1d0b5e50edae 100644
--- a/sys-power/nut/nut-9999.ebuild
+++ b/sys-power/nut/nut-9999.ebuild
@@ -132,6 +132,7 @@ src_configure() {
                --without-python2
                --with-altpidpath=/run/nut
                --with-pidpath=/run/nut
+               $(use_with cgi)
                $(use_with gpio)
                $(use_with i2c linux_i2c)
                $(use_with ipmi freeipmi)

Reply via email to