tech-pkg archive

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

Re: PERL5_PACKLIST and .orig files



Am 23.02.2014 um 19:38 schrieb Robert Elz <kre%munnari.OZ.AU@localhost>:

>    Date:        Sun, 23 Feb 2014 18:18:51 +0100
>    From:        Jens Rehsack <sno%NetBSD.org@localhost>
>    Message-ID:  <09313011-90B4-477A-A662-D11F78948B11%NetBSD.org@localhost>
> 
>  | I tried post-patch, but pre-configure works more reliable.
>  | 
>  | >> cd ${WRKSRC} && find `pwd` -name "*.orig" -type f | xargs rm
>  | > find ${WRKSRC} -name \*.orig -type f -print0 | xargs -0 rm?
>  | 
>  | Both should work :)
> 
> The question that ought to be answered is why pkgsrc is running
> patch in a mode that leaves .orig files around that then need removing.
> 
> That's just absurd - when it uses the SUBST mechanism, it doesn't make
> backup files (and nor should it).
> 
> Just fix things so that the .orig files never get created (patch in posix
> mode - that is, the standard for patch says no backup files unless
> explicitly requested) and you'll never have to worry about removing them,
> nor being concerned that perhaps there's a data file called x.orig
> that has nothing to do with patch…

Because .packlist is a bitch and every file is copied to blib a reasonable
behavior of patch should get suppressed?

I hope you’re kidding.

Cheers
-- 
Jens Rehsack
rehsack%gmail.com@localhost







Home | Main Index | Thread Index | Old Index