Hi,
i've noticed CONFIGURE_STYLE=modbuild ports didn't provide verbose test
output.  The following diff makes Module::Build tests to behave like
ExtUtils::MakeMaker (the good'n'old default that h2xs gives you too).

Objections?

Regards,
Simon


Index: cpan.port.mk
===================================================================
RCS file: /cvs/ports/infrastructure/mk/cpan.port.mk,v
retrieving revision 1.8
diff -u -p -r1.8 cpan.port.mk
--- cpan.port.mk        20 Aug 2008 10:33:50 -0000      1.8
+++ cpan.port.mk        18 Jun 2009 12:24:43 -0000
@@ -26,7 +26,11 @@ CPAN_REPORT ?=       No
 
 .if ${CPAN_REPORT:L} == "yes"
 REGRESS_DEPENDS +=     ::devel/p5-Test-Reporter
+.  if ${CONFIGURE_STYLE:L:Mmodbuild}
+REGRESS_FLAGS +=       verbose=1
+.  else
 REGRESS_FLAGS +=       TEST_VERBOSE=1
+.  endif
 REGRESS_STATUS_IGNORE =        -
 .  if !defined(CPAN_REPORT_DB)
 ERRORS +=      "Fatal: CPAN_REPORT_DB must point to a directory"

Reply via email to