USES vs BUILD_DEPENDS

Daniel Eischen deischen at freebsd.org
Mon Mar 30 12:50:46 UTC 2015


On Sun, 29 Mar 2015, Daniel Eischen wrote:

> On Sun, 29 Mar 2015, Baptiste Daroussin wrote:
>
>> On Sun, Mar 29, 2015 at 12:41:21PM -0400, Daniel Eischen 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.
>>> 
>> Have you tried using pod2mdoc ?
>
> No, I didn't know about it, I will check it out.  I searched other
> ports (grep) and found pod2man used.  My port's (internal)
> doc/Makefile uses pod2man.

pod2mdoc doesn't seem compatible with the way pod2man is used:

   pod2man --release="`cat .version`" --center="Foo" $*.pod

in particular, the -r or --release option.

-- 
DE


More information about the freebsd-ports mailing list