On Thu, 2005-08-11 at 23:29 +0000, Ferris McCormick wrote:

> 

> On Thu, 11 Aug 2005, Donnie Berkholz wrote:
> 
> >  --[PinePGP]--------------------------------------------------[begin]--
> >  Ferris McCormick wrote:
> > >  I'm happy with libGL; I just reverted the ebuild to be as it started,
> > >  but to define a sparc-specific set of dri drivers. All my problems came
> > >  from my mistaken belief that mesa would still build cleanly using the
> > >  sparc assembly code.  I thought about going ahead and installing the
> > >  drivers themselves while I was at it, but decided to do other things
> > >  first.  If you like, I'll take a shot at it tomorrow, since I've been
> > >  playing with mesa and its ebuild anyway.
> >
> >  I'm thinking something really basic like:
> >
> >  EXEDESTTREE=/usr/lib/xorg/modules/dri
> >  find $S -name '*_dri.so' | xargs doexe
> >
> >  Does that work?
> >
> 
> It should.  I'll verify tomorrow.
> 
Yes, it works fine.  I've gone ahead and committed it in the following
form (in src_install):
=================================================
##
# Install the actual drivers --- 'make install' doesn't install them
# anywhere.
dodir /usr/$(get_libdir)/xorg/modules/dri
exeinto /usr/$(get_libdir)/xorg/modules/dri
einfo "Installing drivers to ${EXEDESTTREE}."
find ${S}/lib -name '*_dri.so' | xargs doexe
=================================================

By the way, in local testing, I have noticed that mesa builds fine with
a parallel make, and locally using
====================
 src_compile() {
        make ${CONFIG} ${MAKEOPTS} || die "Build failed"
}
===================
is a timesaver.  I don't know if this works generally, but I have never
had any trouble making libGL in parallel when building it by hand.

Regards,
-- 
Ferris McCormick (P44646, MI) <[EMAIL PROTECTED]>
Developer, Gentoo Linux (Sparc, Devrel)

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to