Lines 26-32
Link Here
|
26 |
gif? ( media-libs/libungif ) |
26 |
gif? ( media-libs/libungif ) |
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? ( X? app-emulation/emul-linux-x86-xlibs \ |
31 |
alsa? app-emulation/emul-linux-x86-soundlibs \ |
32 |
jack? app-emulation/emul-linux-x86-soundlibs )" |
30 |
DEPEND="${RDEPEND} |
33 |
DEPEND="${RDEPEND} |
31 |
>=sys-apps/sed-4 |
34 |
>=sys-apps/sed-4 |
32 |
sys-devel/bison |
35 |
sys-devel/bison |
Lines 34-39
Link Here
|
34 |
doc? ( app-text/docbook-sgml-utils app-text/jadetex ) |
37 |
doc? ( app-text/docbook-sgml-utils app-text/jadetex ) |
35 |
sys-devel/flex" |
38 |
sys-devel/flex" |
36 |
|
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 |
} |
48 |
|
37 |
src_unpack() { |
49 |
src_unpack() { |
38 |
unpack Wine-${PV}.tar.gz |
50 |
unpack Wine-${PV}.tar.gz |
39 |
cd "${S}" |
51 |
cd "${S}" |
Lines 75-80
Link Here
|
75 |
export DB2PS=true |
87 |
export DB2PS=true |
76 |
fi |
88 |
fi |
77 |
|
89 |
|
|
|
90 |
if use amd64; then |
91 |
if [ -f /usr/lib32/libX11.so ]; then |
92 |
myconf="${myconf} --x-libraries=/usr/lib32" |
93 |
elif [ -f /emul/linux/x86/usr/lib/libX11.so ]; then |
94 |
myconf="${myconf} --x-libraries=/emul/linux/x86/usr/lib" |
95 |
else |
96 |
eerror "Couldn't find your 32bit X libs" |
97 |
die "Couldn't find your 32bit X libs" |
98 |
fi |
99 |
fi |
100 |
|
78 |
# $(use_enable amd64 win64) |
101 |
# $(use_enable amd64 win64) |
79 |
# USE=debug is broken in this release |
102 |
# USE=debug is broken in this release |
80 |
econf \ |
103 |
econf \ |
Lines 84-89
Link Here
|
84 |
$(use_with X x) \ |
107 |
$(use_with X x) \ |
85 |
$(use_enable debug trace) \ |
108 |
$(use_enable debug trace) \ |
86 |
$(use_enable debug) \ |
109 |
$(use_enable debug) \ |
|
|
110 |
${myconf} \ |
87 |
|| die "configure failed" |
111 |
|| die "configure failed" |
88 |
|
112 |
|
89 |
emake -j1 depend || die "depend" |
113 |
emake -j1 depend || die "depend" |
Lines 101-108
Link Here
|
101 |
includedir="${D}"/usr/include/wine \ |
125 |
includedir="${D}"/usr/include/wine \ |
102 |
sysconfdir="${D}"/etc/wine \ |
126 |
sysconfdir="${D}"/etc/wine \ |
103 |
mandir="${D}"/usr/share/man \ |
127 |
mandir="${D}"/usr/share/man \ |
104 |
libdir="${D}"/usr/lib \ |
128 |
libdir="${D}"/usr/$(get_libdir) \ |
105 |
dlldir="${D}"/usr/lib/wine \ |
129 |
dlldir="${D}"/usr/$(get_libdir)/wine \ |
106 |
install || die |
130 |
install || die |
107 |
use doc && dodoc documentation/*.pdf |
131 |
use doc && dodoc documentation/*.pdf |
108 |
|
132 |
|