diff --git a/net-analyzer/nfdump/nfdump-1.7.7.ebuild b/net-analyzer/nfdump/nfdump-1.7.7-r1.ebuild similarity index 93% rename from net-analyzer/nfdump/nfdump-1.7.7.ebuild rename to net-analyzer/nfdump/nfdump-1.7.7-r1.ebuild index 73fc169e3e4be..6c5920b297f61 100644 --- a/net-analyzer/nfdump/nfdump-1.7.7.ebuild +++ b/net-analyzer/nfdump/nfdump-1.7.7-r1.ebuild @@ -33,7 +33,7 @@ BDEPEND=" app-alternatives/yacc sys-devel/flex doc? ( - app-text/doxygen[dot] + app-text/doxygen media-gfx/graphviz ) " @@ -52,6 +52,11 @@ DOCS=( AUTHORS ChangeLog README.md ) src_prepare() { default + if ! use doc; then + # don't install docs if we didn't ask + sed -i -e 's/SUBDIRS += man doc/SUBDIRS += man/' Makefile.am || die + fi + eautoreconf if use doc; then