1 |
On Thu, 2005-08-11 at 23:29 +0000, Ferris McCormick wrote: |
2 |
|
3 |
> |
4 |
|
5 |
> On Thu, 11 Aug 2005, Donnie Berkholz wrote: |
6 |
> |
7 |
> > --[PinePGP]--------------------------------------------------[begin]-- |
8 |
> > Ferris McCormick wrote: |
9 |
> > > I'm happy with libGL; I just reverted the ebuild to be as it started, |
10 |
> > > but to define a sparc-specific set of dri drivers. All my problems came |
11 |
> > > from my mistaken belief that mesa would still build cleanly using the |
12 |
> > > sparc assembly code. I thought about going ahead and installing the |
13 |
> > > drivers themselves while I was at it, but decided to do other things |
14 |
> > > first. If you like, I'll take a shot at it tomorrow, since I've been |
15 |
> > > playing with mesa and its ebuild anyway. |
16 |
> > |
17 |
> > I'm thinking something really basic like: |
18 |
> > |
19 |
> > EXEDESTTREE=/usr/lib/xorg/modules/dri |
20 |
> > find $S -name '*_dri.so' | xargs doexe |
21 |
> > |
22 |
> > Does that work? |
23 |
> > |
24 |
> |
25 |
> It should. I'll verify tomorrow. |
26 |
> |
27 |
Yes, it works fine. I've gone ahead and committed it in the following |
28 |
form (in src_install): |
29 |
================================================= |
30 |
## |
31 |
# Install the actual drivers --- 'make install' doesn't install them |
32 |
# anywhere. |
33 |
dodir /usr/$(get_libdir)/xorg/modules/dri |
34 |
exeinto /usr/$(get_libdir)/xorg/modules/dri |
35 |
einfo "Installing drivers to ${EXEDESTTREE}." |
36 |
find ${S}/lib -name '*_dri.so' | xargs doexe |
37 |
================================================= |
38 |
|
39 |
By the way, in local testing, I have noticed that mesa builds fine with |
40 |
a parallel make, and locally using |
41 |
==================== |
42 |
src_compile() { |
43 |
make ${CONFIG} ${MAKEOPTS} || die "Build failed" |
44 |
} |
45 |
=================== |
46 |
is a timesaver. I don't know if this works generally, but I have never |
47 |
had any trouble making libGL in parallel when building it by hand. |
48 |
|
49 |
Regards, |
50 |
-- |
51 |
Ferris McCormick (P44646, MI) <fmccor@g.o> |
52 |
Developer, Gentoo Linux (Sparc, Devrel) |