Date: Mon, 16 May 2011 21:17:26 +0100 From: Chris Rees <utisoft@gmail.com> To: ohauer@freebsd.org Cc: Warren Block <wblock@wonkity.com>, Doug Barton <dougb@freebsd.org>, FreeBSD Ports <freebsd-ports@freebsd.org> Subject: Re: proper use of bsd.port.options.mk Message-ID: <BANLkTimqJVnb8BnJKaDNWBZw=OvZpk1hnw@mail.gmail.com> In-Reply-To: <4DD17E78.20003@FreeBSD.org> References: <4DD09B45.9070306@FreeBSD.org> <alpine.BSF.2.00.1105152216460.20421@wonkity.com> <BANLkTin08WiMbkzpKmq_zaz2cGp0esMJxg@mail.gmail.com> <alpine.BSF.2.00.1105160754150.22315@wonkity.com> <BANLkTi=ZV75sVcW_wf9mvjad2EV6TVrZmg@mail.gmail.com> <4DD17E78.20003@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16 May 2011 20:43, Olli Hauer <ohauer@freebsd.org> wrote: > On 2011-05-16 21:11, Chris Rees wrote: >> On 16 May 2011 19:47, Warren Block <wblock@wonkity.com> wrote: >>> >>> Could you give an example? =A0I looked, but nothing obvious jumped out. >>> >> >> I think you (and ohauer) missed my followup with an example [1]. >> >> Chris >> >> [1] http://www.mail-archive.com/freebsd-ports@freebsd.org/msg33780.html >> > > Hm, at the moment I seen no benefit in your example, since it was > written this way before <bsd.port.options.mk> > > =A0OPTIONS=3D =A0 =A0WITH_JAVA "With Java" on > > -.include <bsd.port.options.mk> > +.include <bsd.port.pre.mk> > > =A0.if !defined(WITHOUT_JAVA) > =A0USE_JAVA=3D1.5+ > =A0.endif > > -.include <bsd.port.pre.mk> > > =A0--- do something with JAVA_PORT ---- > > =A0.include <bsd.port.post.mk> > Not really. You can't define USE_JAVA _after_ bsd.port.pre.mk and expect JAVA_PORT to be defined... Chris
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTimqJVnb8BnJKaDNWBZw=OvZpk1hnw>