summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2022-07-14 14:22:02 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2022-07-14 14:22:19 +0200
commit89a6a9d746ad548cd7721986a12a1b1ecc96ab83 (patch)
tree4b3bdb4f3e53676bd2407a76c3c623a89986bbbd /gnustep-base/gnustep-make
parentxfce-extra/xfce4-xkb-plugin: Fix missing cache update (diff)
downloadgentoo-89a6a9d746ad548cd7721986a12a1b1ecc96ab83.tar.gz
gentoo-89a6a9d746ad548cd7721986a12a1b1ecc96ab83.tar.bz2
gentoo-89a6a9d746ad548cd7721986a12a1b1ecc96ab83.zip
gnustep-base/gnustep-make: fix compressed man pages install
Closes: https://bugs.gentoo.org/732850 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-base/gnustep-make')
-rw-r--r--gnustep-base/gnustep-make/files/gnustep-make-2.9.0-no_compress_man_pages.patch29
-rw-r--r--gnustep-base/gnustep-make/gnustep-make-2.9.0.ebuild4
2 files changed, 32 insertions, 1 deletions
diff --git a/gnustep-base/gnustep-make/files/gnustep-make-2.9.0-no_compress_man_pages.patch b/gnustep-base/gnustep-make/files/gnustep-make-2.9.0-no_compress_man_pages.patch
new file mode 100644
index 000000000000..c013ce3a282c
--- /dev/null
+++ b/gnustep-base/gnustep-make/files/gnustep-make-2.9.0-no_compress_man_pages.patch
@@ -0,0 +1,29 @@
+diff -Naur gnustep-make-2.9.0.orig/GNUmakefile.in gnustep-make-2.9.0/GNUmakefile.in
+--- gnustep-make-2.9.0.orig/GNUmakefile.in 2021-03-21 22:56:13.000000000 +0100
++++ gnustep-make-2.9.0/GNUmakefile.in 2022-07-14 14:21:10.545943581 +0200
+@@ -255,23 +255,16 @@
+ for f in $(TEST_FRAMEWORK_FILES); do \
+ $(INSTALL_DATA) "$(srcdir)/TestFramework/$$f" "$(testdir)"; \
+ done)
+- $(EC)(echo "Installing (and compressing) manpages"; \
++ $(EC)(echo "Installing manpages"; \
+ "$(srcdir)/mkinstalldirs" "$(mandir)/man1" \
+ "$(mandir)/man7"; \
+ $(INSTALL_DATA) "$(srcdir)/Documentation/debugapp.1" "$(mandir)/man1"; \
+- which gzip > /dev/null 2>&1 && rm -f "$(mandir)/man1/debugapp.1.gz" && gzip -9 -n "$(mandir)/man1/debugapp.1"; \
+ $(INSTALL_DATA) "$(srcdir)/Documentation/gnustep-config.1" "$(mandir)/man1"; \
+- which gzip > /dev/null 2>&1 && rm -f "$(mandir)/man1/gnustep-config.1.gz" && gzip -9 -n "$(mandir)/man1/gnustep-config.1"; \
+ $(INSTALL_DATA) "$(srcdir)/Documentation/gnustep-tests.1" "$(mandir)/man1"; \
+- which gzip > /dev/null 2>&1 && rm -f "$(mandir)/man1/gnustep-tests.1.gz" && gzip -9 -n "$(mandir)/man1/gnustep-tests.1"; \
+ $(INSTALL_DATA) "$(srcdir)/Documentation/openapp.1" "$(mandir)/man1"; \
+- which gzip > /dev/null 2>&1 && rm -f "$(mandir)/man1/openapp.1.gz" && gzip -9 -n "$(mandir)/man1/openapp.1"; \
+ $(INSTALL_DATA) "$(srcdir)/Documentation/opentool.1" "$(mandir)/man1"; \
+- which gzip > /dev/null 2>&1 && rm -f "$(mandir)/man1/opentool.1.gz" && gzip -9 -n "$(mandir)/man1/opentool.1"; \
+ $(INSTALL_DATA) "$(srcdir)/Documentation/GNUstep.7" "$(mandir)/man7"; \
+- which gzip > /dev/null 2>&1 && rm -f "$(mandir)/man7/GNUstep.7.gz" && gzip -9 -n "$(mandir)/man7/GNUstep.7"; \
+- $(INSTALL_DATA) "$(srcdir)/Documentation/library-combo.7" "$(mandir)/man7"; \
+- which gzip > /dev/null 2>&1 && rm -f "$(mandir)/man7/library-combo.7.gz" && gzip -9 -n "$(mandir)/man7/library-combo.7")
++ $(INSTALL_DATA) "$(srcdir)/Documentation/library-combo.7" "$(mandir)/man7";)
+ $(EC)(if [ "@GNUSTEP_STRIP_MAKEFILES@" = "strip" ]; then \
+ echo "Stripping makefiles and shell scripts..."; \
+ cd "$(makedir)"; ./strip_makefiles.sh; \
diff --git a/gnustep-base/gnustep-make/gnustep-make-2.9.0.ebuild b/gnustep-base/gnustep-make/gnustep-make-2.9.0.ebuild
index 3657bdcd66fa..d50df165f623 100644
--- a/gnustep-base/gnustep-make/gnustep-make-2.9.0.ebuild
+++ b/gnustep-base/gnustep-make/gnustep-make-2.9.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -24,6 +24,8 @@ DEPEND="${GNUSTEP_CORE_DEPEND}
) )"
RDEPEND="${DEPEND}"
+PATCHES=( "${FILESDIR}"/${P}-no_compress_man_pages.patch )
+
pkg_setup() {
# Determine libobjc.so to use
if use libobjc2; then