diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-08 00:19:43 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-08 00:19:43 +0800 |
commit | 23cfe35b667623b916dc41cf20f060c29b1b0e3e (patch) | |
tree | b589ccbd50a6253517ba82ac7a01db018f26c777 /Mk | |
parent | a4ee88743e5e0dcf9f1055086eee62e562399f70 (diff) | |
download | freebsd-ports-gnome-23cfe35b667623b916dc41cf20f060c29b1b0e3e.tar.gz freebsd-ports-gnome-23cfe35b667623b916dc41cf20f060c29b1b0e3e.tar.zst freebsd-ports-gnome-23cfe35b667623b916dc41cf20f060c29b1b0e3e.zip |
Do not provide empty do-test target for perl5-using ports
perl5's do-test: target should only be enabled when USE_PERL5=configure
or USE_PERL5=modbuild* are used, otherwise it'll end up being empty
and will prevent other tests from running.
Remove NO_PERL5_TEST as it isn't really needed after this fix.
Approved by: mat, sunpoet
Differential Revision: D3830
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/Uses/perl5.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk index ddafedd4d978..0d32c45e0ede 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) && !defined(NO_PERL5_TEST) +.if !target(do-test) && (${USE_PERL5:Mmodbuild*} || ${USE_PERL5:Mconfigure}) TEST_TARGET?= test TEST_WRKSRC?= ${BUILD_WRKSRC} do-test: |