Port dependencies on p5-Test-*

Dag-Erling Smørgrav des at des.no
Mon Feb 25 12:06:19 UTC 2008


"Yen-Ming Lee" <leeym at leeym.com> writes:
> For Makefile.PL, all dependencies are listed in 'PREREQ_PM' so it's
> hard to tell which ones are really needed and which ones are needed
> only for tests.

I assume that in the vast majority of packages that are not themselves
named p5-Test-*, none of the Test::* modules are required.

The sed script I posted may remove too much from Makefile.PL, and
Build.PL, but that doesn't actually matter as long as the port's
BUILD_DEPENDS and RUN_DEPENDS are correct; it only means that
Makefile.PL won't verify that they're there.  The ports tree's
dependency system guarantees that they are, and even if they aren't, the
build will fail.

> Removing all p5-Test-* from Makefile.PL or Build.PL may break some
> ports (for example, some other p5-Test-* ports) which really need
> p5-Test-*.

Yes, I've excluded those from my count.  If I had included them, there
would be 350 ports with p5-Test-* dependencies.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-ports mailing list