Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 181147
Collapse All | Expand All

(-)media-libs/libdvbpsi/libdvbpsi-0.1.5.ebuild (+9 lines)
Lines 27-35 Link Here
27
	emake || die "emake failed"
27
	emake || die "emake failed"
28
28
29
	if use doc; then
29
	if use doc; then
30
		# Making the documentation requires that /usr/bin/dot from
31
		# media-libs/graphviz supports PNG output.  According to bug #181147,
32
		# this is not always enabled.  Check that /usr/bin/dot supports
33
		# rendering to PNG before we try to make doc.  The -Txxx is picked to
34
		# force an error from dot so that we can check what formats it supports.
35
		if /usr/bin/dot -Txxx 2>&1 | grep -q png ; then
30
		ewarn "Attempting to build documentation"
36
		ewarn "Attempting to build documentation"
31
		make doc || die "Could not build documentation."
37
		make doc || die "Could not build documentation."
32
	else
38
	else
39
			ewarn "Building documentation requires PNG support in graphviz."
40
		fi
41
	else
33
		ewarn "Documentation was not built"
42
		ewarn "Documentation was not built"
34
	fi
43
	fi
35
}
44
}

Return to bug 181147