From: | "Petteri Raty (betelgeuse)" <betelgeuse@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in eclass: findlib.eclass |
Date: | Sat, 02 Feb 2008 21:05:37 |
Message-Id: | E1JLPYL-00027F-Tl@stork.gentoo.org |
1 | betelgeuse 08/02/02 21:05:33 |
2 | |
3 | Modified: findlib.eclass |
4 | Log: |
5 | Make it possible to have the depend conditional via a use flag. |
6 | |
7 | Revision Changes Path |
8 | 1.6 eclass/findlib.eclass |
9 | |
10 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/findlib.eclass?rev=1.6&view=markup |
11 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/findlib.eclass?rev=1.6&content-type=text/plain |
12 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/findlib.eclass?r1=1.5&r2=1.6 |
13 | |
14 | Index: findlib.eclass |
15 | =================================================================== |
16 | RCS file: /var/cvsroot/gentoo-x86/eclass/findlib.eclass,v |
17 | retrieving revision 1.5 |
18 | retrieving revision 1.6 |
19 | diff -u -r1.5 -r1.6 |
20 | --- findlib.eclass 11 Jul 2005 15:08:06 -0000 1.5 |
21 | +++ findlib.eclass 2 Feb 2008 21:05:33 -0000 1.6 |
22 | @@ -1,8 +1,8 @@ |
23 | # Copyright 1999-2004 Gentoo Foundation |
24 | # Distributed under the terms of the GNU General Public License v2 |
25 | -# $Header: /var/cvsroot/gentoo-x86/eclass/findlib.eclass,v 1.5 2005/07/11 15:08:06 swegener Exp $ |
26 | +# $Header: /var/cvsroot/gentoo-x86/eclass/findlib.eclass,v 1.6 2008/02/02 21:05:33 betelgeuse Exp $ |
27 | # |
28 | -# Author : Matthieu Sozeau <mattam@g.o> |
29 | +# Origianl author : Matthieu Sozeau <mattam@g.o> (retired) |
30 | # |
31 | # ocamlfind (a.k.a. findlib) eclass |
32 | # |
33 | @@ -10,6 +10,7 @@ |
34 | |
35 | # From this findlib version there is proper stublibs support. |
36 | DEPEND=">=dev-ml/findlib-1.0.4-r1" |
37 | +[[ ${FINDLIB_USE} ]] && DEPEND="${FINDLIB_USE}? ( ${DEPEND} )" |
38 | |
39 | check_ocamlfind() { |
40 | if [ ! -x /usr/bin/ocamlfind ] |
41 | |
42 | |
43 | |
44 | -- |
45 | gentoo-commits@l.g.o mailing list |