diff options
-rw-r--r-- | app-emulation/xen-tools/ChangeLog | 6 | ||||
-rw-r--r-- | app-emulation/xen-tools/xen-tools-3.0.4_p1.ebuild | 9 | ||||
-rw-r--r-- | app-emulation/xen-tools/xen-tools-3.1.0.ebuild | 10 |
3 files changed, 22 insertions, 3 deletions
diff --git a/app-emulation/xen-tools/ChangeLog b/app-emulation/xen-tools/ChangeLog index d85373379aa1..e66d67b95531 100644 --- a/app-emulation/xen-tools/ChangeLog +++ b/app-emulation/xen-tools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-emulation/xen-tools # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.27 2007/08/27 17:20:23 marineam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/ChangeLog,v 1.28 2007/09/03 19:40:30 marineam Exp $ + + 03 Sep 2007; Michael Marineau <marineam@gentoo.org> + xen-tools-3.0.4_p1.ebuild, xen-tools-3.1.0.ebuild: + Fix documentation dependencies. 27 Aug 2007; Michael Marineau <marineam@gentoo.org> xen-tools-3.0.4_p1.ebuild, xen-tools-3.1.0.ebuild: diff --git a/app-emulation/xen-tools/xen-tools-3.0.4_p1.ebuild b/app-emulation/xen-tools/xen-tools-3.0.4_p1.ebuild index 730ca00cf96e..c5ac09cfb12b 100644 --- a/app-emulation/xen-tools/xen-tools-3.0.4_p1.ebuild +++ b/app-emulation/xen-tools/xen-tools-3.0.4_p1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.0.4_p1.ebuild,v 1.5 2007/08/27 17:20:23 marineam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.0.4_p1.ebuild,v 1.6 2007/09/03 19:40:30 marineam Exp $ inherit flag-o-matic distutils eutils multilib @@ -65,6 +65,13 @@ pkg_setup() { die "Unsupported architecture!" fi fi + + if use doc && ! built_with_use -o dev-tex/latex2html png gif; then + # die early instead of later + eerror "USE=doc requires latex2html with image support. Please add" + eerror "'png' and/or 'gif' to your use flags and re-emerge latex2html" + die "latex2html missing both png and gif flags" + fi } src_unpack() { diff --git a/app-emulation/xen-tools/xen-tools-3.1.0.ebuild b/app-emulation/xen-tools/xen-tools-3.1.0.ebuild index f3ef7e08c34d..ea67852795b3 100644 --- a/app-emulation/xen-tools/xen-tools-3.1.0.ebuild +++ b/app-emulation/xen-tools/xen-tools-3.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.1.0.ebuild,v 1.4 2007/08/27 17:20:23 marineam Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xen-tools/xen-tools-3.1.0.ebuild,v 1.5 2007/09/03 19:40:30 marineam Exp $ inherit flag-o-matic distutils eutils multilib @@ -25,6 +25,7 @@ DEPEND="${CDEPEND} doc? ( dev-tex/latex2html media-gfx/transfig + media-gfx/graphviz ) hvm? ( x11-proto/xproto @@ -71,6 +72,13 @@ pkg_setup() { die "Unsupported architecture!" fi fi + + if use doc && ! built_with_use -o dev-tex/latex2html png gif; then + # die early instead of later + eerror "USE=doc requires latex2html with image support. Please add" + eerror "'png' and/or 'gif' to your use flags and re-emerge latex2html" + die "latex2html missing both png and gif flags" + fi } src_unpack() { |