From owner-svn-ports-head@freebsd.org Tue May 2 15:00:13 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7D2ADD5A5A3; Tue, 2 May 2017 15:00:13 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49E251493; Tue, 2 May 2017 15:00:13 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v42F0C8K010505; Tue, 2 May 2017 15:00:12 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v42F0CZl010504; Tue, 2 May 2017 15:00:12 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201705021500.v42F0CZl010504@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 2 May 2017 15:00:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439950 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2017 15:00:13 -0000 Author: mat Date: Tue May 2 15:00:12 2017 New Revision: 439950 URL: https://svnweb.freebsd.org/changeset/ports/439950 Log: Enable depending on Perl only during the test phase. Sponsored by: Absolight Modified: head/Mk/Uses/perl5.mk Modified: head/Mk/Uses/perl5.mk ============================================================================== --- head/Mk/Uses/perl5.mk Tue May 2 14:40:00 2017 (r439949) +++ head/Mk/Uses/perl5.mk Tue May 2 15:00:12 2017 (r439950) @@ -26,7 +26,7 @@ # SITE_ARCH - Directory name where arch site specific perl packages go. # This value is added to PLIST_SUB. # USE_PERL5 - If set, this port uses perl5 in one or more of the extract, -# patch, build, install or run phases. +# patch, build, run or test phases. # It can also have configure, modbuild and modbuildtiny when # the port needs to run Makefile.PL, Build.PL and a # Module::Build::Tiny flavor of Build.PL. @@ -244,6 +244,10 @@ BUILD_DEPENDS+= ${PERL5_DEPEND}:lang/${ RUN_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} . endif +. if ${_USE_PERL5:Mtest} +TEST_DEPENDS+= ${PERL5_DEPEND}:lang/${PERL_PORT} +. endif + . if ${_USE_PERL5:Mconfigure} CONFIGURE_ARGS+= CC="${CC}" CCFLAGS="${CFLAGS}" PREFIX="${PREFIX}" \ INSTALLPRIVLIB="${PREFIX}/lib" INSTALLARCHLIB="${PREFIX}/lib"