git: c4af972e0b0f - main - graphics/gscan2pdf: Remove PERL_LEVEL check after perl5.28 removal (d67ea7eb42e95d712a079e5525232843ee0c5d6c)
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Jul 14 16:19:50 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c4af972e0b0f2f1edde3a62759a17edcb6674bbb
commit c4af972e0b0f2f1edde3a62759a17edcb6674bbb
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-14 16:04:13 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-14 16:10:54 +0000
graphics/gscan2pdf: Remove PERL_LEVEL check after perl5.28 removal (d67ea7eb42e95d712a079e5525232843ee0c5d6c)
With hat: perl
---
graphics/gscan2pdf/Makefile | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/graphics/gscan2pdf/Makefile b/graphics/gscan2pdf/Makefile
index 670a1562d589..c07e3bedc230 100644
--- a/graphics/gscan2pdf/Makefile
+++ b/graphics/gscan2pdf/Makefile
@@ -38,6 +38,7 @@ RUN_DEPENDS:= p5-Proc-ProcessTable>0:devel/p5-Proc-ProcessTable \
p5-Date-Calc>=6.4:devel/p5-Date-Calc \
p5-Config-General>=2.40:devel/p5-Config-General \
p5-Glib>=1.210:devel/p5-Glib \
+ p5-Locale-Codes>0:misc/p5-Locale-Codes \
p5-Locale-gettext>=1.05:devel/p5-Locale-gettext \
p5-Log-Log4perl>0:devel/p5-Log-Log4perl \
p5-Readonly>0:devel/p5-Readonly \
@@ -70,12 +71,6 @@ OCR_DESC= Optical Character Recognition
TESSERACT_DESC= OCR engine developed at Google
TESSERACT_RUN_DEPENDS= tesseract:graphics/tesseract
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} >= 502902
-RUN_DEPENDS+= p5-Locale-Codes>0:misc/p5-Locale-Codes
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|$$sharedir/man|$$prefixdir/man| ; \
@@ -83,4 +78,4 @@ post-patch:
@${REINPLACE_CMD} -e \
's|/usr/share|${PREFIX}/share|g' ${WRKSRC}/bin/${PORTNAME}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the dev-commits-ports-all
mailing list