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
Unknown Object (File)
Dec 20 2023, 10:33 PM
Unknown Object (File)
Dec 20 2023, 1:45 AM
Unknown Object (File)
Dec 14 2023, 5:55 PM
Unknown Object (File)
Nov 22 2023, 7:26 PM
Unknown Object (File)
Nov 13 2023, 5:29 AM
Unknown Object (File)
Oct 22 2023, 12:46 AM
Unknown Object (File)
Aug 1 2023, 1:37 AM
Unknown Object (File)
Jun 26 2023, 3:39 AM
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.