From 246c825068d66b774f81ce1f6ec1c1388244d1c6 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 21 Mar 2017 11:33:03 +0000 Subject: [PATCH] '.' has been removed from @INC in Perl 5.25.7 and it prevented many ports from building starting in 5.25.10, add this hack here to make those ports buildable again. Sponsored by: Absolight --- Mk/Uses/perl5.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk index d47ca8db82ca..20d72f6db6b3 100644 --- a/Mk/Uses/perl5.mk +++ b/Mk/Uses/perl5.mk @@ -114,7 +114,8 @@ SITE_MAN1?= ${PREFIX}/${SITE_MAN1_REL} PERL5?= ${LOCALBASE}/bin/perl${PERL_VERSION} PERL?= ${LOCALBASE}/bin/perl -CONFIGURE_ENV+= ac_cv_path_PERL=${PERL} ac_cv_path_PERL_PATH=${PERL} +CONFIGURE_ENV+= ac_cv_path_PERL=${PERL} ac_cv_path_PERL_PATH=${PERL} \ + PERL_USE_UNSAFE_INC=1 QA_ENV+= SITE_ARCH_REL=${SITE_ARCH_REL} LIBPERL=libperl.so.${PERL_VER}