Line
Link Here
|
0 |
-- /usr/portage/eclass/mozconfig-3.eclass |
0 |
++ /usr/local/portage/eclass/mozconfig-3.eclass |
Lines 4-10
Link Here
|
4 |
# |
4 |
# |
5 |
# mozconfig.eclass: the new mozilla.eclass |
5 |
# mozconfig.eclass: the new mozilla.eclass |
6 |
|
6 |
|
7 |
inherit multilib flag-o-matic mozcoreconf-2 |
7 |
inherit multilib flag-o-matic mozcoreconf-2 eutils |
8 |
|
8 |
|
9 |
# use-flags common among all mozilla ebuilds |
9 |
# use-flags common among all mozilla ebuilds |
10 |
IUSE="+alsa +dbus debug libnotify startup-notification system-sqlite wifi" |
10 |
IUSE="+alsa +dbus debug libnotify startup-notification system-sqlite wifi" |
Lines 63-69
Link Here
|
63 |
|
63 |
|
64 |
mozconfig_use_enable dbus |
64 |
mozconfig_use_enable dbus |
65 |
mozconfig_use_enable debug |
65 |
mozconfig_use_enable debug |
66 |
mozconfig_use_enable debug tests |
66 |
if use debug || use_if_iuse pgo; then |
|
|
67 |
mozconfig_annotate 'debug || pgo' --enable-tests |
68 |
else |
69 |
mozconfig_annotate '!debug && !pgo' --disable-tests |
70 |
fi |
67 |
if ! use debug ; then |
71 |
if ! use debug ; then |
68 |
mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
72 |
mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols |
69 |
fi |
73 |
fi |