From c6ca995a26a469226cd2041a9e184fd4e3201637 Mon Sep 17 00:00:00 2001 From: Matti Bickel Date: Mon, 15 Jan 2007 20:27:06 +0000 Subject: [PATCH] fix USE="doc" usage (bug #161956) --- eclass/fox.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.26.2