commit:     40810a63d551ae326140147cd207edb9d9d46a97
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 22 11:46:51 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jun 22 11:46:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40810a63

mail-filter/dcc: fix compressed man pages

Closes: https://bugs.gentoo.org/883555
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-filter/dcc/{dcc-2.3.168.ebuild => dcc-2.3.168-r1.ebuild} | 11 +++++++----
 mail-filter/dcc/files/dcc-2.3.168-no-compress-man.patch       | 11 +++++++++++
 2 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/mail-filter/dcc/dcc-2.3.168.ebuild 
b/mail-filter/dcc/dcc-2.3.168-r1.ebuild
similarity index 94%
rename from mail-filter/dcc/dcc-2.3.168.ebuild
rename to mail-filter/dcc/dcc-2.3.168-r1.ebuild
index ac782a1b3403..473b3f051894 100644
--- a/mail-filter/dcc/dcc-2.3.168.ebuild
+++ b/mail-filter/dcc/dcc-2.3.168-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit systemd toolchain-funcs
+inherit edo systemd toolchain-funcs
 
 DESCRIPTION="Distributed Checksum Clearinghouse"
 HOMEPAGE="https://www.rhyolite.com/dcc/";
@@ -23,7 +23,8 @@ RDEPEND="
                www-client/fetch
        )
        milter? ( mail-filter/libmilter:= )
-       rrdtool? ( net-analyzer/rrdtool )"
+       rrdtool? ( net-analyzer/rrdtool )
+"
 DEPEND="${RDEPEND}"
 
 dcc_cgibin=var/www/localhost/cgi-bin/dcc
@@ -35,10 +36,12 @@ dcc_rundir=var/run/dcc
 PATCHES=(
        "${FILESDIR}"/${PN}-1.3.158-clang16.patch
        "${FILESDIR}"/${PN}-1.3.158-c2x.patch
+       "${FILESDIR}"/${PN}-2.3.168-no-compress-man.patch
 )
 
 src_configure() {
        tc-export CC AR RANLIB
+
        local myconf=(
                --bindir="${EPREFIX}"/usr/bin
                --homedir="${EPREFIX}"/${dcc_homedir}
@@ -64,7 +67,7 @@ src_configure() {
        einfo "Using config: ${myconf[@]}"
 
        # This is NOT a normal configure script.
-       ./configure "${myconf[@]}" || die "configure failed!"
+       edo ./configure "${myconf[@]}"
 }
 
 moveconf() {

diff --git a/mail-filter/dcc/files/dcc-2.3.168-no-compress-man.patch 
b/mail-filter/dcc/files/dcc-2.3.168-no-compress-man.patch
new file mode 100644
index 000000000000..84bc27414cc5
--- /dev/null
+++ b/mail-filter/dcc/files/dcc-2.3.168-no-compress-man.patch
@@ -0,0 +1,11 @@
+--- a/configure
++++ b/configure
+@@ -1933,7 +1933,7 @@ case "$TARGET_SYS" in
+     Linux)
+       # default to /usr/local/man/man8 and use roff files
+       mancat=man
+-      MANX='$(MANGZ)'
++      MANX='$(MAN0)'
+       ;;
+     OpenBSD)
+       # default to /usr/local/man/cat8 and .0 names

Reply via email to