Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2015 16:19:43 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r398768 - in head: Mk/Uses ftp/curl
Message-ID:  <201510071619.t97GJhuT080086@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Oct  7 16:19:43 2015
New Revision: 398768
URL: https://svnweb.freebsd.org/changeset/ports/398768

Log:
  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

Modified:
  head/Mk/Uses/perl5.mk
  head/ftp/curl/Makefile

Modified: head/Mk/Uses/perl5.mk
==============================================================================
--- head/Mk/Uses/perl5.mk	Wed Oct  7 15:00:46 2015	(r398767)
+++ head/Mk/Uses/perl5.mk	Wed Oct  7 16:19:43 2015	(r398768)
@@ -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:

Modified: head/ftp/curl/Makefile
==============================================================================
--- head/ftp/curl/Makefile	Wed Oct  7 15:00:46 2015	(r398767)
+++ head/ftp/curl/Makefile	Wed Oct  7 16:19:43 2015	(r398768)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510071619.t97GJhuT080086>