summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-23 06:02:22 +0000
committerSam James <sam@gentoo.org>2024-01-23 06:02:22 +0000
commit5fc632c772ebd016e08e3632a08349a9d2fbe336 (patch)
tree37bd812be9558791f734e0f0501f7654aca35836 /sys-devel
parentdev-build/automake-vanilla: compress slotted info pages (diff)
downloadgentoo-5fc632c772ebd016e08e3632a08349a9d2fbe336.tar.gz
gentoo-5fc632c772ebd016e08e3632a08349a9d2fbe336.tar.bz2
gentoo-5fc632c772ebd016e08e3632a08349a9d2fbe336.zip
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@gentoo.org>
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc-apple/gcc-apple-4.2.1_p5666-r3.ebuild2
1 files changed, 2 insertions, 0 deletions
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/