aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-10-04 01:06:52 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-10-04 01:06:52 +0800
commit1e6de050e3db15714b915010bd68c393e31b8a41 (patch)
tree115be08baa6f16e6e294fb71694fec7cac492cac /Mk/Uses
parent3a9cf046b9c772173bcff506864b9540304db396 (diff)
downloadfreebsd-ports-gnome-1e6de050e3db15714b915010bd68c393e31b8a41.tar.gz
freebsd-ports-gnome-1e6de050e3db15714b915010bd68c393e31b8a41.tar.zst
freebsd-ports-gnome-1e6de050e3db15714b915010bd68c393e31b8a41.zip
- Add NO_PERL5_TEST: allow ports with USES=perl5 to run default do-test: defined in bsd.port.mk
- Fix comment
Diffstat (limited to 'Mk/Uses')
-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 58201234d712..ddafedd4d978 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -308,7 +308,7 @@ fix-perl-things:
@${RM} -f ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal.pod* || :
@${RMDIR} -p ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH} 2>/dev/null || :
-.if !target(do-test)
+.if !target(do-test) && !defined(NO_PERL5_TEST)
TEST_TARGET?= test
TEST_WRKSRC?= ${BUILD_WRKSRC}
do-test:
@@ -317,5 +317,5 @@ do-test:
.elif ${USE_PERL5:Mconfigure}
cd ${TEST_WRKSRC}/ && ${SETENV} ${TEST_ENV} ${MAKE_CMD} ${TEST_ARGS} ${TEST_TARGET}
.endif # USE_PERL5:Mmodbuild*
-.endif # regression-test
+.endif # do-test
.endif # defined(_POSTMKINCLUDED)