bsd.port.options.mk status

Andrew Pantyukhin infofarmer at FreeBSD.org
Mon Sep 10 15:00:17 PDT 2007


On Mon, Sep 10, 2007 at 06:58:34PM +0200, Pav Lucistnik wrote:
> Dmitry Marakasov píše v po 10. 09. 2007 v 19:26 +0400:
> > * Pav Lucistnik (pav at FreeBSD.org) wrote:
> > 
> > > > > It's possible to use this feature, but only on -CURRENT and -STABLE
> > > > > FreeBSD systems newer than certain date. No existing release supports it
> > > > > - it will be supported in upcoming 6.3 and 7.0.
> > > > Erm, isn't ports code (more or less) release-independent? What's missing
> > > > in existing FreeBSD versions that's needed to support options.mk?
> > > The make only looks into /usr/share/mk for includes, until told
> > > otherwise. bsd.port.options.mk is included before bsd.port.pre.mk, so it
> > > can't be found. Base system was modified to install stub of the same
> > > name into /usr/share/mk to workaround this problem.
> > Understood. Then we really have to wait till 5.5 and 6.2 EOL to use
> > options.mk... That's a bit strange to wait multiple years for an
> > useful feature, aren't there any workaround planned?
> 
> The question is, are there any workarounds possible?

So am I missing something or is it as trivial as using these four
lines instead of one:

USEOPTIONSMK=	yes
INOPTIONSMK=	yes
.include "bsd.port.mk"
.undef INOPTIONSMK


More information about the freebsd-ports mailing list