diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2020-08-18 13:29:57 +0200 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-08-19 14:33:13 +0000 |
commit | a13e1cdc27b95529cd40038763516cd434de102e (patch) | |
tree | a27f7ebea8ed8f28751bf2655642c1bfdc737357 /net-libs/libtelnet | |
parent | net-libs/libtelnet: bump to 0.23 (diff) | |
download | gentoo-a13e1cdc27b95529cd40038763516cd434de102e.tar.gz gentoo-a13e1cdc27b95529cd40038763516cd434de102e.tar.bz2 gentoo-a13e1cdc27b95529cd40038763516cd434de102e.zip |
net-libs/libtelnet: install manpages in standard directory
Closes: https://bugs.gentoo.org/737886
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Closes: https://github.com/gentoo/gentoo/pull/17157
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/libtelnet')
-rw-r--r-- | net-libs/libtelnet/files/libtelnet-9999-doc.patch | 39 | ||||
-rw-r--r-- | net-libs/libtelnet/libtelnet-9999.ebuild | 12 |
2 files changed, 47 insertions, 4 deletions
diff --git a/net-libs/libtelnet/files/libtelnet-9999-doc.patch b/net-libs/libtelnet/files/libtelnet-9999-doc.patch new file mode 100644 index 000000000000..c88f6cc3977b --- /dev/null +++ b/net-libs/libtelnet/files/libtelnet-9999-doc.patch @@ -0,0 +1,39 @@ +From 4691956375fae84dcfaeb96c1a204a113d8e5a99 Mon Sep 17 00:00:00 2001 +From: Jakov Smolic <jakov.smolic@sartura.hr> +Date: Tue, 18 Aug 2020 13:22:52 +0200 +Subject: [PATCH] doc: install manpages in standard directory + +Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> +--- + doc/man/man1/CMakeLists.txt | 4 ++-- + doc/man/man3/CMakeLists.txt | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/doc/man/man1/CMakeLists.txt b/doc/man/man1/CMakeLists.txt +index 053dc42..0da441c 100644 +--- a/doc/man/man1/CMakeLists.txt ++++ b/doc/man/man1/CMakeLists.txt +@@ -1,4 +1,4 @@ + install( + FILES telnet-chatd.1 telnet-client.1 telnet-proxy.1 +- DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man1 +-) +\ No newline at end of file ++ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1 ++) +diff --git a/doc/man/man3/CMakeLists.txt b/doc/man/man3/CMakeLists.txt +index b126fea..af40a92 100644 +--- a/doc/man/man3/CMakeLists.txt ++++ b/doc/man/man3/CMakeLists.txt +@@ -14,5 +14,5 @@ install( + ${CMAKE_CURRENT_BINARY_DIR}/telnet_event_t_zmp_t.3 + ${CMAKE_CURRENT_BINARY_DIR}/telnet_event_t_mssp_t.3 + ${CMAKE_CURRENT_BINARY_DIR}/telnet_telopt_t.3 +- DESTINATION ${CMAKE_INSTALL_PREFIX}/man/man3 +-) +\ No newline at end of file ++ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man3 ++) +-- +2.26.2 + diff --git a/net-libs/libtelnet/libtelnet-9999.ebuild b/net-libs/libtelnet/libtelnet-9999.ebuild index 957f6345e21a..44e62916c511 100644 --- a/net-libs/libtelnet/libtelnet-9999.ebuild +++ b/net-libs/libtelnet/libtelnet-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake-utils +inherit cmake if [[ ${PV} == *9999 ]]; then inherit git-r3 @@ -18,7 +18,11 @@ HOMEPAGE="https://github.com/seanmiddleditch/libtelnet" LICENSE="public-domain" SLOT="0" -IUSE="" # needed unconditionally for man pages -DEPEND="app-doc/doxygen" +BDEPEND="app-doc/doxygen" + +PATCHES=( + # https://bugs.gentoo.org/737886 + "${FILESDIR}/${P}-doc.patch" +) |