1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

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
This commit is contained in:
Dmitry Marakasov 2015-10-07 16:19:43 +00:00
parent 8c41caa60a
commit 9a33f6f65c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=398768
2 changed files with 1 additions and 2 deletions

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) && !defined(NO_PERL5_TEST)
.if !target(do-test) && (${USE_PERL5:Mmodbuild*} || ${USE_PERL5:Mconfigure})
TEST_TARGET?= test
TEST_WRKSRC?= ${BUILD_WRKSRC}
do-test:

View File

@ -48,7 +48,6 @@ CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} \
ac_cv_func_SSLv2_client_method=no
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
NO_PERL5_TEST= yes
TEST_ENV= ${MAKE_ENV} LC_ALL=C
TEST_TARGET= test
USE_PERL5= build