diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-02-02 21:05:33 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-02-02 21:05:33 +0000 |
commit | b2ed8a1179cbe87f7755d069a605a34106019d61 (patch) | |
tree | 74c17876c261da8d1126f98cb705c40b440bade3 /eclass/findlib.eclass | |
parent | initial ebuild, taken from vdr testing overlay; also thanks to E.O'Donnell on... (diff) | |
download | historical-b2ed8a1179cbe87f7755d069a605a34106019d61.tar.gz historical-b2ed8a1179cbe87f7755d069a605a34106019d61.tar.bz2 historical-b2ed8a1179cbe87f7755d069a605a34106019d61.zip |
Make it possible to have the depend conditional via a use flag.
Diffstat (limited to 'eclass/findlib.eclass')
-rw-r--r-- | eclass/findlib.eclass | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass index 6aa906158d2d..50a7fb75d977 100644 --- a/eclass/findlib.eclass +++ b/eclass/findlib.eclass @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/findlib.eclass,v 1.5 2005/07/11 15:08:06 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/findlib.eclass,v 1.6 2008/02/02 21:05:33 betelgeuse Exp $ # -# Author : Matthieu Sozeau <mattam@gentoo.org> +# Origianl author : Matthieu Sozeau <mattam@gentoo.org> (retired) # # ocamlfind (a.k.a. findlib) eclass # @@ -10,6 +10,7 @@ # From this findlib version there is proper stublibs support. DEPEND=">=dev-ml/findlib-1.0.4-r1" +[[ ${FINDLIB_USE} ]] && DEPEND="${FINDLIB_USE}? ( ${DEPEND} )" check_ocamlfind() { if [ ! -x /usr/bin/ocamlfind ] |