Perl ports...dependencies required only for `make test`

Sam Lawrance boris at brooknet.com.au
Wed Dec 28 23:08:06 PST 2005


On 29/12/2005, at 5:44 PM, Doug Barton wrote:

> Kris Kennaway wrote:
>> Zach Thompson wrote:
>>> Hi,
>>>
>>> If a Perl module requires a several additional ports solely for  
>>> "make test"
>>> should they be included in the port's BUILD_DEPENDS? If so,  
>>> should they be
>>> excluded from the RUN_DEPENDS?
>> At some point I'd like to make running regression tests the norm  
>> on the package build cluster.  I'd say you should add them to  
>> BUILD_DEPENDS by default.  They wouldn't be added to RUN_DEPENDS  
>> since they are not required after the package is installed.
>
> I think regression tests on the cluster is a great idea, but can we  
> hide this behind PACKAGE_BUILDING or something? As a perl user, I  
> would not want to have a bunch of dependencies to install and  
> maintain whose sole purpose is to support tests that I'll never run.
>

Sounds like a candidate for KNOBS, eg WITH_TESTS.




More information about the freebsd-ports mailing list