On 16 May 2011 20:43, Olli Hauer <[email protected]> wrote: > On 2011-05-16 21:11, Chris Rees wrote: >> On 16 May 2011 19:47, Warren Block <[email protected]> wrote: >>> >>> Could you give an example? I 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/[email protected]/msg33780.html >> > > Hm, at the moment I seen no benefit in your example, since it was > written this way before <bsd.port.options.mk> > > OPTIONS= WITH_JAVA "With Java" on > > -.include <bsd.port.options.mk> > +.include <bsd.port.pre.mk> > > .if !defined(WITHOUT_JAVA) > USE_JAVA=1.5+ > .endif > > -.include <bsd.port.pre.mk> > > --- do something with JAVA_PORT ---- > > .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 _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
