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 | df024cd3bfae4d34a93b4a40c82c258677a36a0a (patch) | |
tree | a09ed233a0d5119bf4cf91a3d3508fcb01f1c43a /eclass | |
parent | initial ebuild, taken from vdr testing overlay; also thanks to E.O'Donnell on... (diff) | |
download | gentoo-2-df024cd3bfae4d34a93b4a40c82c258677a36a0a.tar.gz gentoo-2-df024cd3bfae4d34a93b4a40c82c258677a36a0a.tar.bz2 gentoo-2-df024cd3bfae4d34a93b4a40c82c258677a36a0a.zip |
Make it possible to have the depend conditional via a use flag.
Diffstat (limited to '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 ] |