1 |
Hello, |
2 |
|
3 |
That's right. |
4 |
I've added need-cmake function which add >=dev-util/cmake-VERSION depend. |
5 |
|
6 |
need-cmake() { |
7 |
debug-print-function $FUNCNAME $* |
8 |
CMAKEVER="$1" |
9 |
|
10 |
# from need-kde |
11 |
if [ "${RDEPEND-unset}" != "unset" ] ; then |
12 |
x_DEPEND="${RDEPEND}" |
13 |
else |
14 |
x_DEPEND="${DEPEND}" |
15 |
fi |
16 |
DEPEND="${DEPEND} >=dev-util/cmake-${CMAKEVER}" |
17 |
RDEPEND="${x_DEPEND} >=dev-util/cmake-${CMAKEVER}" |
18 |
} |
19 |
|
20 |
I don't think there is backward compatiblity issue with cmake, but if such, |
21 |
perhaps it will be better to have cmake_min_version an cmake_max_version |
22 |
functions. |
23 |
|
24 |
http://backzone.net/~panard/patches/gentoo-overlay/eclass/cmake.eclass |
25 |
|
26 |
|
27 |
|
28 |
Le Mercredi 24 Mai 2006 14:11, Thomas Kear a écrit : |
29 |
> Can I suggest including a function for setting a minumum cmake |
30 |
> version, similar to the need-kde function in kde-functions.eclass. |
31 |
> For some apps, cmake 2.2 is a requirement, and giving the option to |
32 |
> require =dev-util/cmake-2.2* will prevent breakage on architectures |
33 |
> for which 2.2 is still ~. With cmake 2.4 released it may again become |
34 |
> important. |
35 |
> |
36 |
> -- |
37 |
> Thomas Kear |
38 |
> thomas.kear@×××××.com |
39 |
|
40 |
-- |
41 |
HomePage: http://dev.inzenet.org/~panard/ |
42 |
Yzis : http://www.yzis.org |
43 |
Qomics : http://dev.inzenet.org/~panard/qomics |
44 |
Smileys : http://smileys.inzenet.org |