bsd.port.options.mk status

Pav Lucistnik pav at FreeBSD.org
Mon Sep 10 15:02:52 PDT 2007


Andrew Pantyukhin píše v út 11. 09. 2007 v 02:00 +0400:
> 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

No idea, does it work? My only problem with that is it looks rather
scary :)

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

It whines, glows and fades...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20070910/8bd1782e/attachment.pgp


More information about the freebsd-ports mailing list