aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-10-21 04:26:59 +0800
committerbdrewery <bdrewery@FreeBSD.org>2015-10-21 04:26:59 +0800
commit09b6bf7eee4687996698a69d3dd3c66448e9a643 (patch)
tree13e80aee63c07cc9a0306f039c184ea52dde6a43 /Mk
parent9826bd483d5b5780ed45cc2f530915bc51005fca (diff)
downloadfreebsd-ports-gnome-09b6bf7eee4687996698a69d3dd3c66448e9a643.tar.gz
freebsd-ports-gnome-09b6bf7eee4687996698a69d3dd3c66448e9a643.tar.zst
freebsd-ports-gnome-09b6bf7eee4687996698a69d3dd3c66448e9a643.zip
Rework change in r399791 for default perl to not execute it on 'make clean'
if perl is not installed. With hat: portmgr
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.default-versions.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 167a12c193cb..ecadc31de63e 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -23,8 +23,8 @@ FPC_DEFAULT?= 2.6.4
GCC_DEFAULT?= 4.8
LUA_DEFAULT?= 5.2
MYSQL_DEFAULT?= 5.6
-.if !defined(_PORTS_ENV_CHECK) && \
- (defined(PACKAGE_BUILDING) || !exists(${LOCALBASE}/bin/perl))
+.if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \
+ defined(PACKAGE_BUILDING))
PERL5_DEFAULT?= 5.20
.elif !defined(PERL5_DEFAULT)
# There's no need to replace development versions, like "5.23" with "devel"