Revert 1.23 to restore default value for PERL_PORT. If no value is set

for PERL_PORT by default, INDEX will often fail with dependency errors
of the form "ports/lang: not found".

It is possible to disagree about what that default value ought to be
(e.g. 5.12 vs. 5.8), but not its existance.

This reverts ports/165457 for this file.

This is not actually feature safe.  However, it is necessary to not
violate POLA.

Hat:		portmgr
Feature safe:	yes
This commit is contained in:
Mark Linimon 2012-03-11 05:22:01 +00:00
parent b426e619b3
commit bbefead34e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293076

View File

@ -64,10 +64,16 @@ PERL_LEVEL=0
PERL_ARCH?= mach
# there must always be a default to prevent dependency failures such
# as "ports/lang: not found"
.if ${PERL_LEVEL} >= 501400
PERL_PORT?= perl5.14
.elif ${PERL_LEVEL} >= 501200
PERL_PORT?= perl5.12
.elif ${PERL_LEVEL} >= 501000
PERL_PORT?= perl5.10
.else # ${PERL_LEVEL} < 501000
PERL_PORT?= perl5.8
.endif
SITE_PERL_REL?= lib/perl5/site_perl/${PERL_VERSION}