Date: Sat, 3 Oct 2015 17:06:52 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398474 - head/Mk/Uses Message-ID: <201510031706.t93H6qiu007585@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Oct 3 17:06:52 2015 New Revision: 398474 URL: https://svnweb.freebsd.org/changeset/ports/398474 Log: - Add NO_PERL5_TEST: allow ports with USES=perl5 to run default do-test: defined in bsd.port.mk - Fix comment Modified: head/Mk/Uses/perl5.mk Modified: head/Mk/Uses/perl5.mk ============================================================================== --- head/Mk/Uses/perl5.mk Sat Oct 3 16:30:19 2015 (r398473) +++ head/Mk/Uses/perl5.mk Sat Oct 3 17:06:52 2015 (r398474) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510031706.t93H6qiu007585>