svn commit: r503508 - head/Mk

Mathieu Arnold mat at FreeBSD.org
Wed Jun 5 14:37:48 UTC 2019


Author: mat
Date: Wed Jun  5 14:37:47 2019
New Revision: 503508
URL: https://svnweb.freebsd.org/changeset/ports/503508

Log:
  Make sure we use perl installed by ports and not some other perl in PATH.
  
  PR:		238320
  Submitted by:	Jeroen Pulles

Modified:
  head/Mk/bsd.default-versions.mk   (contents, props changed)

Modified: head/Mk/bsd.default-versions.mk
==============================================================================
--- head/Mk/bsd.default-versions.mk	Wed Jun  5 13:13:17 2019	(r503507)
+++ head/Mk/bsd.default-versions.mk	Wed Jun  5 14:37:47 2019	(r503508)
@@ -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}


More information about the svn-ports-head mailing list