From: Matti Bickel Date: Mon, 15 Jan 2007 20:27:06 +0000 (+0000) Subject: fix USE="doc" usage (bug #161956) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c6ca995a26a469226cd2041a9e184fd4e3201637;p=gentoo.git fix USE="doc" usage (bug #161956) --- diff --git a/eclass/fox.eclass b/eclass/fox.eclass index 3c8531817c21..63fe16a8d577 100644 --- a/eclass/fox.eclass +++ b/eclass/fox.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/fox.eclass,v 1.6 2006/10/30 22:14:18 mabi Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/fox.eclass,v 1.7 2007/01/15 20:27:06 mabi Exp $ # fox eclass # @@ -58,8 +58,8 @@ if [ "${PN}" != fox ] ; then FOX_COMPONENT="${FOX_COMPONENT:-${PN}}" fi -if use doc && [ "${FOXVER}" != "1.0" ] && [ -z "${FOX_COMPONENT}" ] ; then - DOXYGEN_DEP="app-doc/doxygen" +if [ "${FOXVER}" != "1.0" ] && [ -z "${FOX_COMPONENT}" ] ; then + DOXYGEN_DEP="doc? ( app-doc/doxygen )" fi if [ "${PN}" != reswrap ] ; then