From owner-freebsd-perl@FreeBSD.ORG Mon Feb 25 12:06:19 2008 Return-Path: Delivered-To: perl@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A41116A404; Mon, 25 Feb 2008 12:06:19 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 5986413C478; Mon, 25 Feb 2008 12:06:19 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (localhost [127.0.0.1]) by spam.des.no (Postfix) with ESMTP id C2D4F2084; Mon, 25 Feb 2008 13:06:06 +0100 (CET) X-Spam-Tests: AWL,URIBL_OB_SURBL X-Spam-Learn: disabled X-Spam-Score: 0.8/3.0 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on tim.des.no Received: from ds4.des.no (des.no [80.203.243.180]) by smtp.des.no (Postfix) with ESMTP id 36ADE207E; Mon, 25 Feb 2008 13:06:06 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: "Yen-Ming Lee" References: <86zltpzrxt.fsf@ds4.des.no> <759236930802242324o614598d1i1a8ca3cc8c12478c@mail.gmail.com> <86prulibf4.fsf@ds4.des.no> <759236930802250245j646f5be5k8382bedbfb2a7c1e@mail.gmail.com> Date: Mon, 25 Feb 2008 13:06:05 +0100 In-Reply-To: <759236930802250245j646f5be5k8382bedbfb2a7c1e@mail.gmail.com> (Yen-Ming Lee's message of "Mon\, 25 Feb 2008 02\:45\:58 -0800") Message-ID: <868x19i6ky.fsf@ds4.des.no> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.60 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: ports@freebsd.org, perl@freebsd.org Subject: Re: Port dependencies on p5-Test-* X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 12:06:19 -0000 "Yen-Ming Lee" 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