fix USE="doc" usage (bug #161956)
authorMatti Bickel <mabi@gentoo.org>
Mon, 15 Jan 2007 20:27:06 +0000 (20:27 +0000)
committerMatti Bickel <mabi@gentoo.org>
Mon, 15 Jan 2007 20:27:06 +0000 (20:27 +0000)
eclass/fox.eclass

index 3c8531817c214615a3ef5daa9a2b401b473bef6e..63fe16a8d577004dd3a0e8f57106750271db3fcb 100644 (file)
@@ -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