Date: Mon, 25 Feb 2008 13:06:05 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: "Yen-Ming Lee" <leeym@leeym.com> Cc: ports@freebsd.org, perl@freebsd.org Subject: Re: Port dependencies on p5-Test-* Message-ID: <868x19i6ky.fsf@ds4.des.no> In-Reply-To: <759236930802250245j646f5be5k8382bedbfb2a7c1e@mail.gmail.com> (Yen-Ming Lee's message of "Mon\, 25 Feb 2008 02\:45\:58 -0800") References: <86zltpzrxt.fsf@ds4.des.no> <759236930802242324o614598d1i1a8ca3cc8c12478c@mail.gmail.com> <86prulibf4.fsf@ds4.des.no> <759236930802250245j646f5be5k8382bedbfb2a7c1e@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"Yen-Ming Lee" <leeym@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 --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868x19i6ky.fsf>