aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-08 20:50:53 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-05-08 20:50:53 +0000
commitbf6c9178149128e3f260717f77b008f951946c44 (patch)
treeff35c115bcae3b628411b9f5b8a53f607605f401 /archivers
parent0a9d2813a0ddc9ccf6a9385168973596d715d581 (diff)
downloadports-bf6c9178149128e3f260717f77b008f951946c44.tar.gz
ports-bf6c9178149128e3f260717f77b008f951946c44.zip
Convert REINPLACE_CMD to patch file
Notes
Notes: svn path=/head/; revision=534428
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p5-IO-Compress/Makefile3
-rw-r--r--archivers/p5-IO-Compress/files/patch-Makefile.PL10
2 files changed, 10 insertions, 3 deletions
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 <bsd.port.mk>
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}