pkgsrc-Users archive

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

Re: improve DESTDIR?



On Tue, 25 Nov 2008 06:49:03 +0900, Aleksey Cheusov <cheusov%tut.by@localhost> 
wrote:

>> On Mon, Nov 24, 2008 at 10:23:04PM +0200, Aleksey Cheusov wrote:
>  >> The same for benchmark/ubench/patches/patch-aa.  Handwritten
>  >> do-install target is much easier solution for these two small
>  >> packages.
>
>> ...and means that it will just fail to install new files if the upstream
>> package is ever updated.
>
> Updating packages should always be made carefully.
> Both with patches/* and handwritten do-install.
> For example, your patches/* may be incomplete...with the same results.

We can detect broken patch,
failed to patch, try to install out of DESTDIR, missing PLIST entries, and so 
on.
For custom do-install target, no chance to do it.

The best solution is create a patch, send it to upstream developers, new 
version contains it.

-- 
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index