Page MenuHomeFreeBSD

Mk/bsd.tex.mk: fix 'check-plist' for some TeX ports
AbandonedPublic

Authored by avilla on Jun 28 2015, 12:27 PM.
Tags
None
Referenced Files
F134155326: D2931.id6522.diff
Fri, Oct 31, 5:25 AM
Unknown Object (File)
Fri, Oct 31, 3:29 AM
Unknown Object (File)
Fri, Oct 31, 12:01 AM
Unknown Object (File)
Sat, Oct 25, 8:31 PM
Unknown Object (File)
Sat, Oct 25, 8:31 PM
Unknown Object (File)
Sep 29 2025, 10:53 PM
Unknown Object (File)
Sep 29 2025, 9:07 AM
Unknown Object (File)
Sep 28 2025, 5:08 PM
Subscribers

Details

Reviewers
hrs
Group Reviewers
portmgr
Summary

print/tex-formats (and possibly other ports) fails on 'check-plist':

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir %%TEXMFDISTDIR%%

This is due to the directory being created in 'do-fmtutil' but not being correctly removed:

/bin/mkdir -p /scratch/tmp/avilla/wrkdirs/tex-formats-20140525_1/stage/scratch/tmp/avilla/fakeroot/usr/local/share/texmf-var/web2c  /scratch/tmp/avilla/wrkdirs/tex-formats-20140525_1/stage/scratch/tmp/avilla/fakeroot/usr/local/share/texmf-dist/web2c

[...]

/bin/rmdir /scratch/tmp/avilla/wrkdirs/tex-formats-20140525_1/stage/scratch/tmp/avilla/fakeroot/usr/local/share/texmf-dist/web2c || true

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

avilla retitled this revision from to Mk/bsd.tex.mk: fix 'check-plist' for some TeX ports.
avilla updated this object.
avilla edited the test plan for this revision. (Show Details)
avilla added a reviewer: hrs.
avilla set the repository for this revision to rP FreeBSD ports repository.
avilla edited edge metadata.
avilla updated this object.
mat added inline comments.
Mk/bsd.tex.mk
240โ€“241

mmm, would ${RMDIR} -p ${STAGEDIR}${PREFIX}/${TEXMFDISTDIR}/web2c || ${TRUE} work too ?

Mk/bsd.tex.mk
240โ€“241

Sure it would, but I was concerned about possible weird RMDIR redefinition (I can't think of any, actually). It would certainly be a cleaner solution.

hrs edited edge metadata.

Thank you. I think this patch is correct. TEXMFDISTDIR in STAGEDIR always has web2c/texmf.cnf only, and the whole directory tree is used for temporary purpose.

I see it was committed in r392534 already, sorry.