Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2008 02:45:58 -0800
From:      "Yen-Ming Lee" <leeym@leeym.com>
To:        "=?UTF-8?Q?Dag-Erling_Sm=C3=B8rgrav?=" <des@des.no>
Cc:        ports@freebsd.org, perl@freebsd.org
Subject:   Re: Port dependencies on p5-Test-*
Message-ID:  <759236930802250245j646f5be5k8382bedbfb2a7c1e@mail.gmail.com>
In-Reply-To: <86prulibf4.fsf@ds4.des.no>
References:  <86zltpzrxt.fsf@ds4.des.no> <759236930802242324o614598d1i1a8ca3cc8c12478c@mail.gmail.com> <86prulibf4.fsf@ds4.des.no>

index | next in thread | previous in thread | raw e-mail

2008/2/25, Dag-Erling Smørgrav <des@des.no>:
> "Yen-Ming Lee" <leeym@leeym.com> writes:
>  > [unreadable]
>
>  Please fix your MUA.


My MUA is Gmail. I can't really "fix" it.
The only thing I can do is to resend them with plain text format...

----- resend 1 -----

I guess some of these PERL ports which depends on p5-Test;* are committed by me.

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.
 For Build.PL, it will be easier since they are listed in 'requires'
and 'build_requires' separately.

What I did for these packages is:

RUN_DEPENDS= the real dependencies
BUILD_DEPENDS=${RUN_DEPENDS}
 BUILD_DEPENDS+= the dependencies needed only for test

It will make the port depend on the real dependencies only.

Most PERL ports can build without any other p5- port if we ignore the
ones needed for tests.
 Does it mean that we should ignore BUILD_DEPENDS entirely?

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-*.
However, I agree to remove p5-Test-Simple from dependency since it's
in PERL core list already.

----- resend 2 -----

I mean Test::More when I mentioned p5-Test-Simple. Test::More is in
the core list of PERL 5.6.2 or above.
But for other modules in p5-Test-Simple, say Test::Builder::Tester and
Test::Builder::Module, they are in the core list of PERL 5.8.8 or
above.

-- 
Yen-Ming Lee <leeym@leeym.com>

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?759236930802250245j646f5be5k8382bedbfb2a7c1e>