From owner-freebsd-ports@FreeBSD.ORG Mon Sep 10 22:00:17 2007 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 793B416A417; Mon, 10 Sep 2007 22:00:17 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 5443B13C4B4; Mon, 10 Sep 2007 22:00:17 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from localhost (ppp85-141-134-87.pppoe.mtu-net.ru [85.141.134.87]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTP id D8CE12E959B8; Tue, 11 Sep 2007 02:00:28 +0400 (MSD) Date: Tue, 11 Sep 2007 02:00:14 +0400 From: Andrew Pantyukhin To: Pav Lucistnik Message-ID: <20070910220013.GO29407@amilo.cenkes.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <1189443514.22893.10.camel@ikaros.oook.cz> X-OS: FreeBSD amilo.cenkes.org 7.0-CURRENT FreeBSD 7.0-CURRENT User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Dmitry Marakasov , freebsd-ports@FreeBSD.org Subject: Re: bsd.port.options.mk status X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2007 22:00:17 -0000 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