Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Sep 2013 13:11:02 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r326274 - head/Mk/Uses
Message-ID:  <201309041311.r84DB27W076390@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Wed Sep  4 13:11:02 2013
New Revision: 326274
URL: http://svnweb.freebsd.org/changeset/ports/326274

Log:
  * Add devel/p5-Module-Build-Tiny support to USE_PERL5 with modbuildtiny.
  * Add doc for the configure, modbuild and modbuildtiny options.
  
  Reviewed by:	az, bapt
  Approved by:	az, bapt

Modified:
  head/Mk/Uses/perl5.mk

Modified: head/Mk/Uses/perl5.mk
==============================================================================
--- head/Mk/Uses/perl5.mk	Wed Sep  4 13:09:08 2013	(r326273)
+++ head/Mk/Uses/perl5.mk	Wed Sep  4 13:11:02 2013	(r326274)
@@ -26,7 +26,10 @@
 # SITE_PERL		- Directory name where 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, install or run 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.
 
 .if !defined(_INCLUDE_USES_PERL5_MK)
 _INCLUDE_USES_PERL5_MK=	yes
@@ -147,12 +150,15 @@ _MANPAGES+=	${P5MAN${sect}:S%^%${PREFIX}
 .endif
 .endfor
 
-.if ${_USE_PERL5:Mmodbuild}
+.if ${_USE_PERL5:Mmodbuild} || ${_USE_PERL5:Mmodbuildtiny}
 _USE_PERL5+=		configure
 CONFIGURE_SCRIPT?=	Build.PL
 .if ${PORTNAME} != Module-Build
 BUILD_DEPENDS+=		${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
 .endif
+.if ${_USE_PERL5:Mmodbuildtiny}
+BUILD_DEPENDS+=		${SITE_PERL}/Module/Build/Tiny.pm:${PORTSDIR}/devel/p5-Module-Build-Tiny
+.endif
 ALL_TARGET?=
 PL_BUILD?=		Build
 CONFIGURE_ARGS+= \



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