aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-07-07 01:48:04 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-07-07 01:48:04 +0800
commit42fdf593c2aca3a0212a85ad085c4cd4962e39b2 (patch)
tree86a925e433a80ca429f8a8e137e73eb9c90eec81 /Mk
parent8bee840b0a860fb724f8271161fcd6d9c5508c75 (diff)
downloadfreebsd-ports-gnome-42fdf593c2aca3a0212a85ad085c4cd4962e39b2.tar.gz
freebsd-ports-gnome-42fdf593c2aca3a0212a85ad085c4cd4962e39b2.tar.zst
freebsd-ports-gnome-42fdf593c2aca3a0212a85ad085c4cd4962e39b2.zip
- Fix regression-test: TEST_ARGS and TEST_ENV should be overwritable
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/perl5.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 2f91edbd73ee..787fe5a72bab 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -297,8 +297,8 @@ fix-perl-things:
@${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH} 2>/dev/null || :
.if !target(regression-test)
-TEST_ARGS+= ${MAKE_ARGS}
-TEST_ENV+= ${MAKE_ENV}
+TEST_ARGS?= ${MAKE_ARGS}
+TEST_ENV?= ${MAKE_ENV}
TEST_TARGET?= test
TEST_WRKSRC?= ${BUILD_WRKSRC}
.if !target(test)