commit:     5fc632c772ebd016e08e3632a08349a9d2fbe336
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 23 06:02:22 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 23 06:02:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fc632c7

sys-devel/gcc-apple: compress slotted man pages & info pages

As noted in the bug, we install to a different location to accommodate slotting
and hence do not benefit from the automagic compression for /usr/share/doc.

Explicitly opt-in for the man pages & info pages we install.

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

 sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r3.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r3.ebuild 
b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r3.ebuild
index 197a3247c925..0a8cb2421474 100644
--- a/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r3.ebuild
+++ b/sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r3.ebuild
@@ -312,6 +312,8 @@ src_install() {
        echo "STDCXX_INCDIR=\"g++-v${GCC_VERS/\.*/}\"" >> ${gcc_envd_file}
        is_crosscompile && echo "CTARGET=${CTARGET}" >> ${gcc_envd_file}
 
+       docompress /usr/share/gcc-data/${CTARGET}/${GCC_VERS}/{man,info}
+
        # Move <cxxabi.h> to compiler-specific directories
        [[ -f ${D}${STDCXX_INCDIR}/cxxabi.h ]] && \
                mv -f "${D}"${STDCXX_INCDIR}/cxxabi.h "${D}"${LIBPATH}/include/

Reply via email to