1 |
Most of the current linux-mod-ebuilds do not build with portage-cvs |
2 |
because KV_DIR is not available in global scope any more. |
3 |
portage-cvs does not repeatedly source the ebuild after every stage |
4 |
and is more sane in this case. |
5 |
|
6 |
What is needed to fix the problems: |
7 |
|
8 |
BUILD_PARAMS="--with-kernel=${KV_DIR} |
9 |
|
10 |
... |
11 |
|
12 |
should be changed to: |
13 |
|
14 |
pkg_setup() { |
15 |
linux-mod_pkg_setup |
16 |
BUILD_PARAMS="--with-kernel=${KV_DIR} |
17 |
} |
18 |
|
19 |
Now it works with every portage-version and only requires a variable |
20 |
to be set when it is actually set. |
21 |
|
22 |
Regards, |
23 |
Stefan |
24 |
|
25 |
-- |
26 |
gentoo-dev@g.o mailing list |