On Sat, Aug 04, 2018 at 09:28:19PM +0200, Marc Espie wrote: > On Sat, Aug 04, 2018 at 12:54:55PM -0300, Elias M. Mariani wrote: > > Same doubts here. > > Cheers. > > Elias. > > > > 2018-08-04 11:29 GMT-03:00 Alessandro DE LAURENZIS > > <[email protected]>: > > > Dear ports@ readers, > > > > > > working on a new port, I noticed that some stray lines began to appear in > > > PLIST: > > > > > > man/ja_JP.EUC/cat3f/ > > > man/ja_JP.EUC/man3f/ > > > man/ja_JP.EUC/man3p/ > > > > > > This has been already reported (see e.g. [1]), but differently from what > > > landry@ suggested, my system is up-to-date (-current, 4 Aug snapshot) and > > > same my port tree. > > > > > > Any hints? > > > > > Ah, yep. My bad, should be easy to fix.
So it's now fixed 200% (belt and suspenders approach :) ) You guys need up-to-date infrastructure. What happened is that I ditched the old fake.mtree in db for various reasons. One being that we do not need any kind of ownership in fake now, so just calling mkdir -p was simpler. Also, this allows for making things more compact, and having more regularity in manpages dirs. What you see here is exactly that: the man/ cat/ man/ja_JP.EUC/ hierarchies were all different. But the base /etc/mtree files didn't change, and update-plist was relying on those with a few exceptions. So I did a quick fix by adding the exceptions. Then I decided to have update-plist get the actual dirs instead (internal variable _FAKE_TREE_LIST, but that's okay within the confines of bsd.port.mk) That variable is a bit different from the old fake tree, but it was easy to expand the -X from update-plist to take shell globs, and also to recurse upwards from those directories. (in infrastructure/lib/OpenBSD/FS2.pm actually) As a result, I was able to remove almost all exceptions from update-plist proper ;)
