diff options
Diffstat (limited to 'lang/perl5.38/Makefile')
-rw-r--r-- | lang/perl5.38/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lang/perl5.38/Makefile b/lang/perl5.38/Makefile index 7e7a1b7515cf..cd8c47263346 100644 --- a/lang/perl5.38/Makefile +++ b/lang/perl5.38/Makefile @@ -1,5 +1,6 @@ PORTNAME= perl DISTVERSION= ${PERL_VERSION} +PORTREVISION= 1 CATEGORIES= lang devel perl5 MASTER_SITES= https://cpan.metacpan.org/authors/id/S/SH/SHAY/ CPAN/../../src/5.0 DIST_SUBDIR= perl @@ -13,9 +14,8 @@ LICENSE_COMB= dual LICENSE_FILE_ART10= ${WRKSRC}/Artistic LICENSE_FILE_GPLv1+ = ${WRKSRC}/Copying -# Uncomment when the default Perl is switched to 5.40+ -#DEPRECATED= Support end three years after .0 release, please upgrade to a more recent version of Perl -#EXPIRATION_DATE= 2026-07-03 +DEPRECATED= Support end three years after .0 release, please upgrade to a more recent version of Perl +EXPIRATION_DATE= 2026-07-03 USES= cpe tar:xz @@ -244,6 +244,10 @@ post-patch: /^if.*nopods.*versiononly || /s/.*/if (1) {/' \ ${WRKSRC}/installperl .endif + cd ${PATCHDIR}; for patch in patch-*; do \ + ${AWK} -v patch="$$patch" 'seen == 1 && /,NULL/ {print ",\"FreeBSD:" patch "\""} {print} /local_patches\[\]/ { seen=1 }' ${WRKSRC}/patchlevel.h > ${WRKDIR}/patchlevel.h; \ + mv -f ${WRKDIR}/patchlevel.h ${WRKSRC}/patchlevel.h ; \ + done post-install: @${REINPLACE_CMD} -e '/^lddlflags/s|-L${WRKSRC} ||' \ |