On Sun, Jun 03, 2012 at 11:54:06PM +0200, Baptiste Daroussin wrote: > > You found a nice bug. > > > > 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. > > > > I don't know why yet, I'll fix it asap. > > > > regards, > > Bapt > > FYI the bug you found also happen with python and rubygem ports, it can also > happen with apache ports, in fact any ports depending on bsd.*.mk where > bsd.*.mk defines the pkgnameprefix. > > nothing directly related to optionsNG a good example of workaround is: look > at py-yaml > > 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 -- 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)
pgpyNAgL7wzZx.pgp
Description: PGP signature