On Mon, Dec 15, 2008 at 08:05:48AM -0700, Gary Thomas wrote:
> > Nope, seems right. The usual semantics is
> >
> > - PREFIX specifies the location in the runtime system ("where is the
> >   code to be run in the target box")
> >
> > - DESTDIR specifies the temporary location ("where is the root of the
> >   target system located temporarily on the development box")
>
> Understood.  What I really meant was
>   make install PREFIX=$(DESTDIR)/usr
> rather than patching all of the incoming Makefile(s)?

But it *isn't* PREFIX=$(DESTDIR)/usr. Patching it the way we did is the
*right* solution.

> All that patch does is replace $(PREFIX) with $(DESTDIR)/$(PREFIX) and
> this mechanism is already available in the Makefile(s) by overriding
> $(PREFIX) as above.
>
> As is, the 'fix-destdir' patch is not something that could ever be
> accepted upstream.

Are you sure? It's exactly the semantics used everywhere else, and it is
what all other distributors do need as well. So we should argue for that
fix, because it is right.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

--
ptxdist mailing list
[email protected]

Reply via email to