Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2007 02:00:14 +0400
From:      Andrew Pantyukhin <infofarmer@FreeBSD.org>
To:        Pav Lucistnik <pav@FreeBSD.org>
Cc:        Dmitry Marakasov <amdmi3@amdmi3.ru>, freebsd-ports@FreeBSD.org
Subject:   Re: bsd.port.options.mk status
Message-ID:  <20070910220013.GO29407@amilo.cenkes.org>
In-Reply-To: <1189443514.22893.10.camel@ikaros.oook.cz>
References:  <20070909194620.GB14713@hades.panopticon> <1189368742.17083.37.camel@ikaros.oook.cz> <20070909220132.GC14713@hades.panopticon> <1189376094.17083.57.camel@ikaros.oook.cz> <20070910152612.GA15850@hades.panopticon> <1189443514.22893.10.camel@ikaros.oook.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 10, 2007 at 06:58:34PM +0200, Pav Lucistnik wrote:
> Dmitry Marakasov p=C3=AD=C5=A1e v po 10. 09. 2007 v 19:26 +0400:
> > * Pav Lucistnik (pav@FreeBSD.org) wrote:
> >=20
> > > > > It's possible to use this feature, but only on -CURRENT and -STAB=
LE
> > > > > FreeBSD systems newer than certain date. No existing release supp=
orts it
> > > > > - it will be supported in upcoming 6.3 and 7.0.
> > > > Erm, isn't ports code (more or less) release-independent? What's mi=
ssing
> > > > 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?
>=20
> 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=3D	yes
INOPTIONSMK=3D	yes
=2Einclude "bsd.port.mk"
=2Eundef INOPTIONSMK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070910220013.GO29407>