Make sure we use perl installed by ports and not some other perl in PATH.

PR:		238320
Submitted by:	Jeroen Pulles
This commit is contained in:
Mathieu Arnold 2019-06-05 14:37:47 +00:00
parent 3b5f1873e8
commit ba4258b649
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503508

View file

@ -74,7 +74,7 @@ PERL5_DEFAULT?= 5.28
# be set manually in /etc/make.conf in the first place, and we're never getting
# in here.
.if !defined(_PERL5_FROM_BIN)
_PERL5_FROM_BIN!= perl -e 'printf "%vd\n", $$^V;'
_PERL5_FROM_BIN!= ${LOCALBASE}/bin/perl -e 'printf "%vd\n", $$^V;'
.endif
_EXPORTED_VARS+= _PERL5_FROM_BIN
PERL5_DEFAULT:= ${_PERL5_FROM_BIN:R}