diff options
author | hrs <hrs@FreeBSD.org> | 2014-11-26 12:52:00 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2014-11-26 12:52:00 +0800 |
commit | 9068ec0202142fdfc509f52d2f7d2d65cedbd8e3 (patch) | |
tree | dbd6e3590279d5b8f0c37f18965b28bdf3328963 /Mk | |
parent | 2235eee6fc8a7e0fcdc26832b72834b9d36b20b9 (diff) | |
download | freebsd-ports-gnome-9068ec0202142fdfc509f52d2f7d2d65cedbd8e3.tar.gz freebsd-ports-gnome-9068ec0202142fdfc509f52d2f7d2d65cedbd8e3.tar.zst freebsd-ports-gnome-9068ec0202142fdfc509f52d2f7d2d65cedbd8e3.zip |
Use newly-built binaries first. When $PATH contains PREFIX/bin, an old
(maybe broken) binary could be used to generate .fmt files.
PR: 195396
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.tex.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.tex.mk b/Mk/bsd.tex.mk index f5a684bc077d..217db3b5df1b 100644 --- a/Mk/bsd.tex.mk +++ b/Mk/bsd.tex.mk @@ -224,7 +224,7 @@ do-fmtutil-$F: ${LOCALBASE}/bin/mktexlsr ${TEXHASHDIRS:S,^,${STAGEDIR}${PREFIX}/,} ${CAT} ${WRKDIR}/fmtutil.cnf | \ while read format dum; do \ - ${SETENV} PATH=${PATH}:${STAGEDIR}${PREFIX}/bin:${LOCALBASE}/bin \ + ${SETENV} PATH=${STAGEDIR}${PREFIX}/bin:${PATH}:${LOCALBASE}/bin \ TEXMFDIST=${STAGEDIR}${PREFIX}/${TEXMFDISTDIR}:${LOCALBASE}/${TEXMFDISTDIR} \ ${LOCALBASE}/bin/fmtutil-sys \ --byfmt $$format \ |