Index: Mk/Uses/perl5.mk =================================================================== --- Mk/Uses/perl5.mk (revision 326288) +++ Mk/Uses/perl5.mk (working copy) @@ -157,8 +157,10 @@ BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build .endif .if ${_USE_PERL5:Mmodbuildtiny} +.if ${PORTNAME} != Module-Build-Tiny BUILD_DEPENDS+= ${SITE_PERL}/Module/Build/Tiny.pm:${PORTSDIR}/devel/p5-Module-Build-Tiny .endif +.endif ALL_TARGET?= PL_BUILD?= Build CONFIGURE_ARGS+= \ @@ -216,7 +218,7 @@ @cd ${CONFIGURE_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} \ ${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} -.if !${_USE_PERL5:Mmodbuild} +.if !${_USE_PERL5:Mmodbuild*} @cd ${CONFIGURE_WRKSRC} && \ ${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' Makefile .endif # ! modbuild @@ -223,7 +225,7 @@ .endif # !target(do-configure) .endif # configure -.if ${_USE_PERL5:Mmodbuild} +.if ${_USE_PERL5:Mmodbuild*} .if !target(do-build) do-build: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${MAKE_ARGS} ${ALL_TARGET})