pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 lang/perl5: do not use -delete option of fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8749b1f00699
branches:  trunk
changeset: 333256:8749b1f00699
user:      taca <taca%pkgsrc.org@localhost>
date:      Fri May 03 08:35:07 2019 +0000

description:
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.

diffstat:

 lang/perl5/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8d563a1dfabb -r 8749b1f00699 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Fri May 03 08:31:41 2019 +0000
+++ b/lang/perl5/Makefile       Fri May 03 08:35:07 2019 +0000
@@ -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 @@
                ${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"                           \



Home | Main Index | Thread Index | Old Index