pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/lang/perl5



> Module Name:  pkgsrc
> Committed By: taca
> Date:         Fri May  3 08:35:07 UTC 2019
> 
> Modified Files:
>       pkgsrc/lang/perl5: Makefile
> 
> Log Message:
> lang/perl5: do not use -delete option of find(1)
> 
> Do not use -delete option of find(1).  It is not supported on Solaris's
> native find(1) reported by Sad Clouds.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.252 -r1.253 pkgsrc/lang/perl5/Makefile
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 
> Modified files:
> 
> Index: pkgsrc/lang/perl5/Makefile
> diff -u pkgsrc/lang/perl5/Makefile:1.252 pkgsrc/lang/perl5/Makefile:1.253
> --- pkgsrc/lang/perl5/Makefile:1.252  Tue Apr 23 09:27:46 2019
> +++ pkgsrc/lang/perl5/Makefile        Fri May  3 08:35:07 2019
> @@ -1,4 +1,4 @@
> -# $NetBSD: Makefile,v 1.252 2019/04/23 09:27:46 adam Exp $
> +# $NetBSD: Makefile,v 1.253 2019/05/03 08:35:07 taca Exp $
> 
> .include "license.mk"
> .include "Makefile.common"
> @@ -294,7 +294,7 @@ post-extract:
>               ${WRKSRC}/cpan/DB_File/hints/minix.pl
> 
> pre-configure:
> -     find ${WRKSRC} -name "*.orig" -type f -delete
> +     find ${WRKSRC} -name "*.orig" -type f -exec rm -f {} \;
> 
> post-build:
>       ${SED}  -e "s,@PERL5@,"${PERL5:Q}",g"                           \
> 

Is "+" supported? If so, I would change that to:

find ${WRKSRC} -name "*.orig" -type f -exec rm -f {} +

Kind regards,
Adam



Home | Main Index | Thread Index | Old Index