Date: Sat, 24 Sep 2011 12:50:03 GMT From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: perl@FreeBSD.org Subject: Re: ports/160972: devel/p5-Config-Record -- make Test::Pod and friends optional Message-ID: <201109241250.p8OCo3as049392@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/160972; it has been noted by GNATS. From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: Andrej Zverev <andrej.zverev@gmail.com> Cc: bug-followup@FreeBSD.org Subject: Re: ports/160972: devel/p5-Config-Record -- make Test::Pod and friends optional Date: Sat, 24 Sep 2011 05:30:30 -0700 On Sat, Sep 24, 2011 at 04:21:15PM +0400, Andrej Zverev wrote: > I suspect that better to use TEST_DEPENDS in this case. > You can read about it here: http://wiki.freebsd.org/Perl I wasn't aware of this shim -- thank you for pointing me to it! (For the port maintainer: the above link does go over the details). Agreed, TEST_DEPENDS is a much better choice here. I have updated my patch on my web site, and have also included a copy of the updated patch below. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB | --- devel/p5-Config-Record/Makefile.orig 2010-01-28 19:01:28.000000000 -0800 +++ devel/p5-Config-Record/Makefile 2011-09-24 05:25:24.000000000 -0700 @@ -14,8 +14,8 @@ MAINTAINER= cm@therek.net COMMENT= Configuration file access -BUILD_DEPENDS+= ${SITE_PERL}/Test/Pod.pm:${PORTSDIR}/devel/p5-Test-Pod \ - ${SITE_PERL}/Test/Pod/Coverage.pm:${PORTSDIR}/devel/p5-Test-Pod-Coverage +TEST_DEPENDS= p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod \ + p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage MAN3= Config::Record.3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109241250.p8OCo3as049392>