Date: Fri, 23 Feb 2007 17:38:23 +0800 From: "Rong-en Fan" <grafan@gmail.com> To: "Lev Serebryakov" <lev@freebsd.org> Cc: ports@freebsd.org Subject: Re: How to depends on perl conditionally? Message-ID: <6eb82e0702230138i6651dddgb1587745d480d08b@mail.gmail.com> In-Reply-To: <8010670026.20070223112131@serebryakov.spb.ru> References: <8010670026.20070223112131@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2/23/07, Lev Serebryakov <lev@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6eb82e0702230138i6651dddgb1587745d480d08b>