On Tuesday 07 July 2009 04:46:24 Dan Nicholson wrote:
> On Mon, Jul 6, 2009 at 6:45 PM, tom fogal<[email protected]> wrote:
> > Hi,
> >
> > Anders Juel Jensen <[email protected]> writes:
> >>  It would make life a lot easier for both packagers and testers if
> >> the autotools based build system could be made to support DESTDIR,
> >> like most other autotools based packages does.
> >
> > This is the wrong forum/time to ask this question, but I've noted
> > similar support mentioned in other contexts here and again and never
> > understood the point.
> >
> > It seems to me like "./configure --prefix=/tmp/my-new-mesa-package/usr
> > && make && make install" would have the same effect.  What does DESTDIR
> > accomplish that prefix does not?
>
> The package may be built differently depending on what the final
> destination (controlled by --prefix) is. Among other things:
>
> - paths entered in data such as the pkg-config .pc files will be wrong
> - you may get an incorrect rpath encoded into the binaries (usually
> only happens with libtool)
> - the build may make different decisions if you are installing to a
> system directory (/usr) vs. a temporary path
>
> --
> Dan

Sorry for the noise.. i was just thrown off by the fact that if you actually 
grep all the Makefiles for DESTDIR after ./configure it comes up empty.

I will try to investigate a little more closely next time, before i waste 
anyone elses time :-/

/Anders

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to