From owner-freebsd-ports@FreeBSD.ORG Sun Sep 9 22:15:01 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 788D916A41B for ; Sun, 9 Sep 2007 22:15:01 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id BCB5A13C458 for ; Sun, 9 Sep 2007 22:15:00 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from [192.168.0.23] (rb5dg130.net.upc.cz [89.176.238.130]) (authenticated bits=0) by raven.customer.vol.cz (8.14.1/8.14.1) with ESMTP id l89MEteK067617 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 10 Sep 2007 00:14:57 +0200 (CEST) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: Dmitry Marakasov In-Reply-To: <20070909220132.GC14713@hades.panopticon> References: <20070909194620.GB14713@hades.panopticon> <1189368742.17083.37.camel@ikaros.oook.cz> <20070909220132.GC14713@hades.panopticon> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pbjjElZVnjea6QeCYEZA" Date: Mon, 10 Sep 2007 00:14:54 +0200 Message-Id: <1189376094.17083.57.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 FreeBSD GNOME Team Port X-Spam-Score: -1.835 () AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.62 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 89.176.238.130; Sender-helo: [192.168.0.23]; ) Cc: 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 Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2007 22:15:01 -0000 --=-pbjjElZVnjea6QeCYEZA Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Dmitry Marakasov p=ED=B9e v po 10. 09. 2007 v 02:01 +0400: > > > So, is it possible to use this feature, or are there still any issues > > > not allowing use of options.mk in ports? > > It's possible to use this feature, but only on -CURRENT and -STABLE > > FreeBSD systems newer than certain date. No existing release supports i= t > > - 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. > > I would advise not to use it in your port yet. Maybe in two or three > > years. > 8-[ ] > Then what am I to do if I need, say: >=20 > OPTIONS=3D EDITOR "Qt4 editor" >=20 > .if defined WITH_EDITOR > USE_QT_VER=3D 4 > MAKE_ARGS+=3D UIC=3D${UIC} MOC=3D${MOC} > .endif >=20 > I'll have to not use OPTIONS in this case, am I right? Or try experimenting with manual inclusion of bsd.kde.mk, or check if bsd.kde.mk provide advance inclusion mechanism (WANT_FOO usually). > > Note that hardcoding /usr/ports to your port breaks the port for users > > with nonstandard PORTSDIR. > Well, ../../Mk/bsd.port.options.mk should go then? That will eliminate possibility of using your port standalone, outside ports tree.=20 --=20 Pav Lucistnik Cry Havoc! And let slip the Dogs of Waw. --=-pbjjElZVnjea6QeCYEZA Content-Type: application/pgp-signature; name=signature.asc Content-Description: 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?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBG5HBentdYP8FOsoIRAksDAKCnoZ9SmpqUzf4rYo4L6nxIoqRKQwCeMaWE wfAbgOAqecCekjyMIYw3Y5I= =Gsxt -----END PGP SIGNATURE----- --=-pbjjElZVnjea6QeCYEZA--