- Add NO_PERL5_TEST: allow ports with USES=perl5 to run default do-test: defined in bsd.port.mk

- Fix comment
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-10-03 17:06:52 +00:00
parent 11ff194a50
commit d1781c2e30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398474

View file

@ -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)