From bf6c9178149128e3f260717f77b008f951946c44 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 8 May 2020 20:50:53 +0000 Subject: [PATCH] Convert REINPLACE_CMD to patch file --- archivers/p5-IO-Compress/Makefile | 3 --- archivers/p5-IO-Compress/files/patch-Makefile.PL | 10 ++++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 archivers/p5-IO-Compress/files/patch-Makefile.PL diff --git a/archivers/p5-IO-Compress/Makefile b/archivers/p5-IO-Compress/Makefile index 64b798934a8e..83851823162f 100644 --- a/archivers/p5-IO-Compress/Makefile +++ b/archivers/p5-IO-Compress/Makefile @@ -23,7 +23,4 @@ USE_PERL5= configure NO_ARCH= yes -post-patch: - @${REINPLACE_CMD} -e '/EXE_FILES/d' ${WRKSRC}/Makefile.PL - .include diff --git a/archivers/p5-IO-Compress/files/patch-Makefile.PL b/archivers/p5-IO-Compress/files/patch-Makefile.PL new file mode 100644 index 000000000000..8f1fdfacafb8 --- /dev/null +++ b/archivers/p5-IO-Compress/files/patch-Makefile.PL @@ -0,0 +1,10 @@ +--- Makefile.PL.orig 2019-12-07 14:59:48 UTC ++++ Makefile.PL +@@ -42,7 +42,6 @@ WriteMakefile( + + INSTALLDIRS => ($] >= 5.009 && $] < 5.011 ? 'perl' : 'site'), + +- EXE_FILES => ['bin/zipdetails', 'bin/streamzip'], + + ( + $] >= 5.009 && $] <= 5.011001 && ! $ENV{PERL_CORE}