Lines 16-22
Link Here
|
16 |
RDEPEND=">=sys-libs/zlib-1.1.4 |
16 |
RDEPEND=">=sys-libs/zlib-1.1.4 |
17 |
snmp? ( virtual/snmp ) |
17 |
snmp? ( virtual/snmp ) |
18 |
gtk2? ( >=dev-libs/glib-2.0.4 =x11-libs/gtk+-2* ) |
18 |
gtk2? ( >=dev-libs/glib-2.0.4 =x11-libs/gtk+-2* ) |
19 |
!gtk2 ( gtk? ( =x11-libs/gtk+-1.2* =dev-libs/glib-1.2* ) ) |
19 |
!gtk2 ( gtk? ( =x11-libs/gtk+-1.2* ) ) |
|
|
20 |
=dev-libs/glib-1.2* |
20 |
ssl? ( >=dev-libs/openssl-0.9.6e ) |
21 |
ssl? ( >=dev-libs/openssl-0.9.6e ) |
21 |
>=net-libs/libpcap-0.7.1" |
22 |
>=net-libs/libpcap-0.7.1" |
22 |
|
23 |
|
Lines 41-52
Link Here
|
41 |
|
42 |
|
42 |
if [ -z "`use gtk`" ] && [ -z "`use gtk2`" ]; then |
43 |
if [ -z "`use gtk`" ] && [ -z "`use gtk2`" ]; then |
43 |
myconf="${myconf} --disable-ethereal" |
44 |
myconf="${myconf} --disable-ethereal" |
|
|
45 |
# the asn1 plugin needs gtk |
46 |
sed -i -e '/plugins\/asn1/c\' Makefile.in |
47 |
sed -i -e 's/\(^SUBDIRS.*\)asn1\(.*\)/\1\2/' plugins/Makefile.in |
44 |
fi |
48 |
fi |
45 |
|
49 |
|
46 |
use gtk2 && myconf="${myconf} --enable-gtk2" |
50 |
use gtk2 && myconf="${myconf} --enable-gtk2" |
47 |
use ssl || myconf="${myconf} --without-ssl" |
51 |
use ssl || myconf="${myconf} --without-ssl" |
48 |
use snmp || myconf="${myconf} --without-ucd-snmp" |
52 |
use snmp || myconf="${myconf} --without-ucd-snmp --without-net-snmp" |
49 |
use ipv6 && myconf="${myconf} --enable-ipv6" |
53 |
myconf="${myconf} $(use_enable ipv6)" |
50 |
|
54 |
|
51 |
econf \ |
55 |
econf \ |
52 |
--enable-pcap \ |
56 |
--enable-pcap \ |
Lines 62-67
Link Here
|
62 |
--with-plugindir=/usr/lib/ethereal/plugins/${PV} \ |
66 |
--with-plugindir=/usr/lib/ethereal/plugins/${PV} \ |
63 |
${myconf} || die "bad ./configure" |
67 |
${myconf} || die "bad ./configure" |
64 |
addwrite "/usr/share/snmp/mibs/.index" |
68 |
addwrite "/usr/share/snmp/mibs/.index" |
|
|
69 |
|
65 |
emake || die "compile problem" |
70 |
emake || die "compile problem" |
66 |
} |
71 |
} |
67 |
|
72 |
|