summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-07-08 11:57:43 +0200
committerLars Wendler <polynomial-c@gentoo.org>2019-07-08 11:58:10 +0200
commit8d5f090cefd272b78de0dccb6ec1e9a9194d9ed3 (patch)
treea880dd0833299e56db652bd9de7d0a3bd0ff45ab /sys-process
parentacct-group.eclass: Fix typo in error message. (diff)
downloadgentoo-8d5f090cefd272b78de0dccb6ec1e9a9194d9ed3.tar.gz
gentoo-8d5f090cefd272b78de0dccb6ec1e9a9194d9ed3.tar.bz2
gentoo-8d5f090cefd272b78de0dccb6ec1e9a9194d9ed3.zip
sys-process/lsof: Revbump to fix man page
Closes: https://bugs.gentoo.org/689462 Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/lsof/lsof-4.93.2-r1.ebuild (renamed from sys-process/lsof/lsof-4.93.2.ebuild)9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-process/lsof/lsof-4.93.2.ebuild b/sys-process/lsof/lsof-4.93.2-r1.ebuild
index 3fa368976b10..6761f22aa669 100644
--- a/sys-process/lsof/lsof-4.93.2.ebuild
+++ b/sys-process/lsof/lsof-4.93.2-r1.ebuild
@@ -19,6 +19,9 @@ RDEPEND="rpc? ( net-libs/libtirpc )
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}
rpc? ( virtual/pkgconfig )"
+BDEPEND="
+ sys-apps/groff
+"
PATCHES=(
"${FILESDIR}"/${PN}-4.85-cross.patch #432120
@@ -38,6 +41,10 @@ src_prepare() {
-e '/test -r/s:test -r \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\1>" | ${LSOF_CC} ${LSOF_CFGF} -E - >/dev/null 2>\&1:g' \
-e 's:grep (.*) \$\{LSOF_INCLUDE\}/([[:alnum:]/._]*):echo "#include <\2>" | ${LSOF_CC} ${LSOF_CFGF} -E -P -dD - 2>/dev/null | grep \1:' \
Configure || die
+
+ # "create" man-page
+ # inspired by shipped "makeman" ksh script
+ soelim < Lsof.8 > lsof.8 || die
}
target() {
@@ -91,7 +98,7 @@ src_install() {
doins scripts/*
fi
- newman {L,l}sof.8
+ doman lsof.8
dodoc 00*
}