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)
Thu, Nov 28, 2:03 AM
Unknown Object (File)
Oct 5 2024, 4:59 PM
Unknown Object (File)
Oct 3 2024, 4:57 PM
Unknown Object (File)
Oct 1 2024, 5:40 PM
Unknown Object (File)
Sep 27 2024, 9:57 PM
Unknown Object (File)
Sep 25 2024, 10:41 AM
Unknown Object (File)
Sep 8 2024, 12:36 AM
Unknown Object (File)
Sep 4 2024, 3:41 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.