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>
selinux? ( sys-libs/libselinux )"
DEPEND="${RDEPEND}
rpc? ( virtual/pkgconfig )"
+BDEPEND="
+ sys-apps/groff
+"
PATCHES=(
"${FILESDIR}"/${PN}-4.85-cross.patch #432120
-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() {
doins scripts/*
fi
- newman {L,l}sof.8
+ doman lsof.8
dodoc 00*
}