diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2020-09-09 23:42:40 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-09-09 23:43:09 +0200 |
commit | 33212addfeda3946e488ea711a667a61adde96d2 (patch) | |
tree | cd2a82255048741e0a7543fe70784781852c775d /sys-libs | |
parent | sys-libs/libhugetlbfs: bump to v2.23 (diff) | |
download | gentoo-33212addfeda3946e488ea711a667a61adde96d2.tar.gz gentoo-33212addfeda3946e488ea711a667a61adde96d2.tar.bz2 gentoo-33212addfeda3946e488ea711a667a61adde96d2.zip |
sys-libs/libhugetlbfs: install uncompressed man pages
Closes: https://bugs.gentoo.org/704326
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/libhugetlbfs/files/libhugetlbfs-2.23-uncompressed-man-pages.patch | 34 | ||||
-rw-r--r-- | sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/sys-libs/libhugetlbfs/files/libhugetlbfs-2.23-uncompressed-man-pages.patch b/sys-libs/libhugetlbfs/files/libhugetlbfs-2.23-uncompressed-man-pages.patch new file mode 100644 index 000000000000..c0ca6a398e70 --- /dev/null +++ b/sys-libs/libhugetlbfs/files/libhugetlbfs-2.23-uncompressed-man-pages.patch @@ -0,0 +1,34 @@ +--- a/Makefile ++++ b/Makefile +@@ -436,27 +436,19 @@ install-man: + $(INSTALL) -d $(DESTDIR)$(MANDIR8) + for x in $(INSTALL_MAN1); do \ + $(INSTALL) -m 444 man/$$x $(DESTDIR)$(MANDIR1); \ +- gzip -f $(DESTDIR)$(MANDIR1)/$$x; \ + done + for x in $(INSTALL_MAN3); do \ + $(INSTALL) -m 444 man/$$x $(DESTDIR)$(MANDIR3); \ +- gzip -f $(DESTDIR)$(MANDIR3)/$$x; \ + done +- rm -f $(DESTDIR)$(MANDIR3)/free_huge_pages.3.gz +- rm -f $(DESTDIR)$(MANDIR3)/free_hugepage_region.3.gz +- rm -f $(DESTDIR)$(MANDIR3)/hugetlbfs_unlinked_fd_for_size.3.gz +- rm -f $(DESTDIR)$(MANDIR3)/hugetlbfs_find_path_for_size.3.gz +- ln -s get_huge_pages.3.gz $(DESTDIR)$(MANDIR3)/free_huge_pages.3.gz +- ln -s get_hugepage_region.3.gz $(DESTDIR)$(MANDIR3)/free_hugepage_region.3.gz +- ln -s hugetlbfs_unlinked_fd.3.gz $(DESTDIR)$(MANDIR3)/hugetlbfs_unlinked_fd_for_size.3.gz +- ln -s hugetlbfs_find_path.3.gz $(DESTDIR)$(MANDIR3)/hugetlbfs_find_path_for_size.3.gz ++ ln -s get_huge_pages.3 $(DESTDIR)$(MANDIR3)/free_huge_pages.3 ++ ln -s get_hugepage_region.3 $(DESTDIR)$(MANDIR3)/free_hugepage_region.3 ++ ln -s hugetlbfs_unlinked_fd.3 $(DESTDIR)$(MANDIR3)/hugetlbfs_unlinked_fd_for_size.3 ++ ln -s hugetlbfs_find_path.3 $(DESTDIR)$(MANDIR3)/hugetlbfs_find_path_for_size.3 + for x in $(INSTALL_MAN7); do \ + $(INSTALL) -m 444 man/$$x $(DESTDIR)$(MANDIR7); \ +- gzip -f $(DESTDIR)$(MANDIR7)/$$x; \ + done + for x in $(INSTALL_MAN8); do \ + $(INSTALL) -m 444 man/$$x $(DESTDIR)$(MANDIR8); \ +- gzip -f $(DESTDIR)$(MANDIR8)/$$x; \ + done + + install-bin: diff --git a/sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild b/sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild index 255bcb160f23..509763949e6a 100644 --- a/sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild +++ b/sys-libs/libhugetlbfs/libhugetlbfs-2.23.ebuild @@ -21,6 +21,7 @@ DEPEND="test? ( ${PYTHON_DEPS} )" PATCHES=( "${FILESDIR}"/${PN}-2.6-fixup-testsuite.patch + "${FILESDIR}"/${PN}-2.23-uncompressed-man-pages.patch ) src_prepare() { |