1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hi! |
5 |
I'm also quite new to this list (and gentoo programming). |
6 |
As far as I understood you, isn't this is what you're looking for: |
7 |
IUSE="tcltk" |
8 |
DEPEND="tcltk? ( dev-lang/tcl dev-lang/tk)" |
9 |
|
10 |
src_compile() { |
11 |
.... |
12 |
use tcltk \ |
13 |
&& myopts="${myopts} --enable-tcl" \ |
14 |
|| myopts="${myopts} --disable-tcl" |
15 |
#Or whatever options should enable or disable it. |
16 |
.... |
17 |
} |
18 |
|
19 |
On Thursday 24 April 2003 10:20, Jens Hoffrichter wrote: |
20 |
|
21 |
> The general ebuild is working, but the tool has several gui's, including |
22 |
> a curses gui and a tk gui. But it does not really depends on Tk or curses, |
23 |
> because it has fallback to other gui's which do not need specific |
24 |
> libraries. But I can not really "deconfigure" the tk-gui or the curses gui, |
25 |
> so the use of USE variables seems not to be correctly. |
26 |
> |
27 |
> To file a dependency against Tk does not seems right, as the package does |
28 |
> not really depend on Tk, it just looks nicer. And how I should make use |
29 |
> of the USE variable I'm not sure. |
30 |
> |
31 |
> So I'm asking if someone can guide me how I should mark the |
32 |
> "soft-dependencies" in the tool..... |
33 |
> |
34 |
> CU all, |
35 |
> Jens |
36 |
|
37 |
- -- |
38 |
Sergey Kuleshov <sergey@××××××××××.com> |
39 |
Studio Programer |
40 |
Microsoft Certified Professional |
41 |
-----BEGIN PGP SIGNATURE----- |
42 |
Version: GnuPG v1.2.1 (GNU/Linux) |
43 |
|
44 |
iD8DBQE+p+qRcbJxBGJJn5IRAmQvAJsEllVy7nPcHXc4mOfbFxIpcGjKKQCeMeLQ |
45 |
1D6/+8VFKVptrLgiS1VF620= |
46 |
=MjOZ |
47 |
-----END PGP SIGNATURE----- |
48 |
|
49 |
|
50 |
-- |
51 |
gentoo-dev@g.o mailing list |