USES vs BUILD_DEPENDS

Mathieu Arnold mat at FreeBSD.org
Mon Mar 30 13:14:02 UTC 2015


+--On 29 mars 2015 12:41:21 -0400 Daniel Eischen <deischen at freebsd.org>
wrote:
| I have a port which needs pod2man just to build the man file
| during installation.  Why do I need USES= pod2man:perl5 just to
| build the port?  It doesn't seem feasible to use BUILD_DEPENDS
| because there is no generic perl5 port.

You need:
USES=perl5
USE_PERL5=build

Because that's the right way to say you need Perl to build your port.

-- 
Mathieu Arnold


More information about the freebsd-ports mailing list