aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2017-03-21 19:33:03 +0800
committermat <mat@FreeBSD.org>2017-03-21 19:33:03 +0800
commit576965c59e8547ca09576d444dddc34d180918b2 (patch)
tree3a1e3ce0f7b9e6ec03d045a34e9fd7554f73385f /Mk
parentd13762d6f0637dcbe7de04f911a609844d776d97 (diff)
downloadfreebsd-ports-gnome-576965c59e8547ca09576d444dddc34d180918b2.tar.gz
freebsd-ports-gnome-576965c59e8547ca09576d444dddc34d180918b2.tar.zst
freebsd-ports-gnome-576965c59e8547ca09576d444dddc34d180918b2.zip
'.' 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
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/perl5.mk3
1 files changed, 2 insertions, 1 deletions
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}