Convert REINPLACE_CMD to patch file

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-05-08 20:50:53 +00:00
parent 0a9d2813a0
commit bf6c917814
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=534428
2 changed files with 10 additions and 3 deletions

View File

@ -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>

View File

@ -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}