net-misc/dahdi-tools: Fixups for perl, and fixing man pages build.

dahdi-tools uses perl for some stuff, so add applicable RDEPEND.

Build failure caused by lack of perl and build time, so install the
tools required such that this absolute gem of how not to do it works
(xpp/Makefile):

1377 %.8: %
1378     @if file "$^" | cut -d: -f2 | grep -q -iw perl; then \
1379         if pod2man --section 8 $^ > $@; then \
1380             echo "  GEN      $@"; \
1381         else \
1382             rm -f "$@"; \
1383         fi \
1384     fi

Closes:  https://bugs.gentoo.org/728544
Signed-off-by: Jaco Kroon <jaco@uls.co.za>
Closes: https://github.com/gentoo/gentoo/pull/16629
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Jaco Kroon
2020-07-20 12:01:20 +03:00
committed by Joonas Niilola
parent e60793bb05
commit 26e51de2b6
@@ -26,7 +26,11 @@ DEPEND="dev-libs/newt
sys-kernel/linux-headers
virtual/libusb:0
ppp? ( net-dialup/ppp )"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-lang/perl:=
dev-perl/CGI"
BDEPEND="dev-lang/perl
sys-apps/file"
src_prepare() {
default