tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /var vs /usr/pkg/var



On 11/06/16 05:56, Hauke Fath wrote:
On Fri, 10 Jun 2016 14:41:41 +0200, Thomas Klausner wrote:
texmf creates lots of files in /var during installation.
Shouldn't these live in ${PREFIX}/var?

Is ${PREFIX}/var even a thing? How about ${VARBASE}?

TeX already puts them under VARBASE

% grep -r VARBASE ../kpathsea/
../kpathsea/patches/patch-aa:+TEXMFSYSVAR = @VARBASE@/lib/texmf
../kpathsea/DEINSTALL:          @VARBASE@/lib/texmf/ls-R \
../kpathsea/INSTALL:            @VARBASE@/lib/texmf \
../kpathsea/Makefile:SUBST_SED.texmfdir+= -e 's,@VARBASE@,${VARBASE:C;///*;/;g:C;/$;;},'
../kpathsea/Makefile:BUILD_DEFS+=               VARBASE
../kpathsea/Makefile:OWN_DIRS+=         ${TEXMFLOCAL} ${VARBASE}/lib/texmf
../kpathsea/Makefile:OWN_DIRS_PERMS+=   ${VARBASE}/lib/texmf/fonts/${d}

cheers
mark


Home | Main Index | Thread Index | Old Index