Lines 27-40
Link Here
|
27 |
jpeg? ( media-libs/jpeg ) |
27 |
jpeg? ( media-libs/jpeg ) |
28 |
glut? ( virtual/glut ) |
28 |
glut? ( virtual/glut ) |
29 |
lcms? ( media-libs/lcms ) |
29 |
lcms? ( media-libs/lcms ) |
30 |
amd64? ( |
30 |
amd64? ( X? app-emulation/emul-linux-x86-xlibs \ |
31 |
app-emulation/emul-linux-x86-xlibs |
31 |
alsa? app-emulation/emul-linux-x86-soundlibs \ |
32 |
app-emulation/emul-linux-x86-soundlibs |
32 |
jack? app-emulation/emul-linux-x86-soundlibs |
33 |
)" |
33 |
)" |
|
|
34 |
|
34 |
DEPEND="${RDEPEND} |
35 |
DEPEND="${RDEPEND} |
35 |
sys-devel/bison |
36 |
sys-devel/bison |
36 |
doc? ( app-text/docbook-sgml-utils app-text/jadetex ) |
37 |
doc? ( app-text/docbook-sgml-utils app-text/jadetex ) |
37 |
sys-devel/flex" |
38 |
sys-devel/flex" |
|
|
39 |
|
40 |
pkg_setup() { |
41 |
has_m32 || die "your compiler seems to be unable to compile 32bit code. if |
42 |
you are on amd64, make sure you compile gcc with USE=multilib |
43 |
FEATURES=-sandbox" |
44 |
|
45 |
ABI_ALLOW="x86" |
46 |
ABI="x86" |
47 |
} |
38 |
|
48 |
|
39 |
src_unpack() { |
49 |
src_unpack() { |
40 |
unpack Wine-${PV}.tar.gz |
50 |
unpack Wine-${PV}.tar.gz |
Lines 76-81
Link Here
|
76 |
export DB2PS=true |
86 |
export DB2PS=true |
77 |
fi |
87 |
fi |
78 |
|
88 |
|
|
|
89 |
if use amd64; then |
90 |
if [ -f /usr/lib32/libX11.so ]; then |
91 |
myconf="${myconf} --x-libraries=/usr/lib32" |
92 |
elif [ -f /emul/linux/x86/usr/lib/libX11.so ]; then |
93 |
myconf="${myconf} --x-libraries=/emul/linux/x86/usr/lib" |
94 |
elif [ -f /emul/linux/x86/usr/X11R6/lib/libX11.so ]; then |
95 |
myconf="${myconf} --x-libraries=/emul/linux/x86/usr/X11R6/lib" |
96 |
else |
97 |
eerror "Couldn't find your 32bit X libs" |
98 |
die "Couldn't find your 32bit X libs" |
99 |
fi |
100 |
fi |
101 |
|
79 |
# $(use_enable amd64 win64) |
102 |
# $(use_enable amd64 win64) |
80 |
# USE=debug is broken in this release |
103 |
# USE=debug is broken in this release |
81 |
econf \ |
104 |
econf \ |
Lines 85-90
Link Here
|
85 |
$(use_with X x) \ |
108 |
$(use_with X x) \ |
86 |
$(use_enable debug trace) \ |
109 |
$(use_enable debug trace) \ |
87 |
$(use_enable debug) \ |
110 |
$(use_enable debug) \ |
|
|
111 |
${myconf} \ |
88 |
|| die "configure failed" |
112 |
|| die "configure failed" |
89 |
|
113 |
|
90 |
emake -j1 depend || die "depend" |
114 |
emake -j1 depend || die "depend" |