Date: Mon, 4 Jun 2012 20:02:38 +0200 From: Roland Smith <rsmith@xs4all.nl> To: Baptiste Daroussin <bapt@FreeBSD.org> Cc: freebsd-ports@FreeBSD.org Subject: Re: optionsng ignores /var/db/ports/<portname>/options Message-ID: <20120604180238.GA14162@slackbox.erewhon.net> In-Reply-To: <20120603215406.GC98939@ithaqua.etoilebsd.net> References: <20120603192023.GA8350@slackbox.erewhon.net> <20120603200101.GB98939@ithaqua.etoilebsd.net> <20120603215406.GC98939@ithaqua.etoilebsd.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 03, 2012 at 11:54:06PM +0200, Baptiste Daroussin wrote: > > You found a nice bug. > >=20 > > The options file is read the thing is that the UNIQUENAME is changed is > > py-py-stl when the optionsfile is read and it is py27-py-stl when it is= written. > >=20 > > I don't know why yet, I'll fix it asap. > >=20 > > regards, > > Bapt >=20 > FYI the bug you found also happen with python and rubygem ports, it can a= lso > happen with apache ports, in fact any ports depending on bsd.*.mk where > bsd.*.mk defines the pkgnameprefix. >=20 > nothing directly related to optionsNG a good example of workaround is: lo= ok > at py-yaml >=20 > You can have multiple workarounds: > first one: define OPTIONSFILE in your ports like py-yaml I did that, and it works fine. It seems the a simple solution. > second one: replace bsd.port.options.mk by bsd.port.pre.mk (do not forget= in > that case the bsd.port.post.mk in the end) I had pre and post in my port makefile: it didn't work. Thanks for your help! Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/M+D4ACgkQEnfvsMMhpyXQPgCgpYovhN8lHoaeRNY3BSI35yY9 2IkAmwU8hb5lnAkfUyd86z6QmTODMZWO =dNZA -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120604180238.GA14162>