How to depends on perl conditionally?
Rong-en Fan
grafan at gmail.com
Fri Feb 23 10:04:28 UTC 2007
On 2/23/07, Lev Serebryakov <lev at freebsd.org> wrote:
> Hello ports,
>
> If I use OPTIONS, I can check WITH_<option> only after `.include <bsd.port.pre.mk>'. But USE_PERL5 should be defined BEFORE this include too.
> What should I do if my port use perl, depending on options?! I can check WITH_PERL only AFTER include and I need to set USE_PERL5 before include :(
If I read bsd.port.mk correctly, you can use USE_PERL5 after pre.mk.
perl related stuffs are defined in post.mk
Regards,
Rong-En Fan
More information about the freebsd-ports
mailing list