The recent changes to update-plist make
texlive easier to maintain, hopefully.

The changes "expose" two internal variables
for texlive consumption:

- _PBUILD, because texlive needs to write stuff into WRKDIR, and
it's not exactly one of the classic targets that's wrapped in _PBUILD
already (I have tried other ways, but edd's scripts don't quite
like it, and this one does work)

- _FAKE_COOKIE: which is the actual target that "ends" the fake step.

>From an OCD point-of-view, it would make sense to expose those targets.
That said, this opens a small pandora box:

-> if _PBUILD is visible, so should _PFETCH.

-> if _FAKE_COOKIE is visible, maybe some other cookies should be visible
too.

IMO, there's nothing wrong in making other stuff visible as well
(and documenting them as well).

_PBUILD an _PFETCH exist because PORTS_PRIVSEP is not default
and thus there are corresponding tweaks.

_*_COOKIE* exist because we highlighted phony targets... but in
at least one case, a physical target may be better.

There are two questions in there:
- keep these private and see texlive as a BIG exception (noteworthy
because it needs love from update-list)
- expand the perimeter of visible variables to an extent to be determined.

I will be happy to document the resulting changes.

I think it deserves some discussion.

If this feels trivial to you because, after all, it's just build-goo,
remember that we're talking about ~10000 ports !

Reply via email to