Lines 14-22
Link Here
|
14 |
SLOT="0" |
14 |
SLOT="0" |
15 |
KEYWORDS="~amd64 ~ppc ~x86" |
15 |
KEYWORDS="~amd64 ~ppc ~x86" |
16 |
#IUSE="debug jit X +sdl gtk qt" |
16 |
#IUSE="debug jit X +sdl gtk qt" |
17 |
IUSE="debug jit X +sdl" |
17 |
IUSE="debug jit +X sdl" |
18 |
|
18 |
|
19 |
RDEPEND="sys-apps/net-tools |
19 |
RDEPEND="virtual/libc |
|
|
20 |
sys-apps/net-tools |
20 |
sdl? ( >=media-libs/libsdl-1.2.0 ) |
21 |
sdl? ( >=media-libs/libsdl-1.2.0 ) |
21 |
X? ( x11-libs/libX11 ) |
22 |
X? ( x11-libs/libX11 ) |
22 |
net-firewall/iptables |
23 |
net-firewall/iptables |
Lines 25-32
Link Here
|
25 |
DEPEND="${RDEPEND} |
26 |
DEPEND="${RDEPEND} |
26 |
sys-devel/flex |
27 |
sys-devel/flex |
27 |
sys-devel/bison |
28 |
sys-devel/bison |
28 |
x86? ( sys-devel/binutils ) |
29 |
sys-devel/binutils" |
29 |
jit? ( sys-devel/binutils )" |
|
|
30 |
|
30 |
|
31 |
src_unpack() { |
31 |
src_unpack() { |
32 |
unpack ${A} |
32 |
unpack ${A} |
Lines 43-49
Link Here
|
43 |
|
43 |
|
44 |
if ! use X && ! use sdl && ! use gtk && ! use qt; then |
44 |
if ! use X && ! use sdl && ! use gtk && ! use qt; then |
45 |
die "You must set at least one of these USE flags: X, sdl" |
45 |
die "You must set at least one of these USE flags: X, sdl" |
46 |
die "You must set at least one of these USE flags: X, sdl, gtk, qt" |
46 |
# die "You must set at least one of these USE flags: X, sdl, gtk, qt" |
47 |
fi |
47 |
fi |
48 |
} |
48 |
} |
49 |
|
49 |
|
Lines 51-60
Link Here
|
51 |
local myconf |
51 |
local myconf |
52 |
|
52 |
|
53 |
use jit || myconf="${myconf} --enable-cpu=generic" |
53 |
use jit || myconf="${myconf} --enable-cpu=generic" |
54 |
if use sdl; then |
54 |
if use X; then |
55 |
myconf="${myconf} --enable-ui=sdl" |
|
|
56 |
elif use X; then |
57 |
myconf="${myconf} --enable-ui=x11" |
55 |
myconf="${myconf} --enable-ui=x11" |
|
|
56 |
elif use sdl; then |
57 |
myconf="${myconf} --enable-ui=sdl" |
58 |
# elif use gtk; then |
58 |
# elif use gtk; then |
59 |
# myconf="${myconf} --enable-ui=gtk" |
59 |
# myconf="${myconf} --enable-ui=gtk" |
60 |
# elif use qt; then |
60 |
# elif use qt; then |