tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: destdir: 'make package' inconsistency

On Sun, Jan 04, 2009 at 08:07:51PM +0200, Aleksey Cheusov wrote:
> B) It is always better to keep changes to pkgsrc backward compatible
>   unless you REALLY have reasons to break backward compatibility.
>   The target 'package' "inconsistency" is not such a reason.
>   That fact that 'make package' (without destdir set) installs
>   the package to / is just m-m-m-m just a mistake made more
>   than decade ago, this mistake is a side effect of the implementation.
>   I don't think 'make package' (with destdir) should follow
>   this bad logic. If you need new functionality, create a new target.

My first mail was badly worded. The 'make package' doesn't annoy me as
much as the 'make install' that doesn't install the files to
${PREFIX}, but to ${DESTDIR}${PREFIX}.

I want that 'make install' installs files to ${PREFIX} (independent of
USE_DESTDIR). I don't care if it creates a binary package for that or

Home | Main Index | Thread Index | Old Index