aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Mk/bsd.tex.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.tex.mk b/Mk/bsd.tex.mk
index 8389509d7cf8..3f0ce749b467 100644
--- a/Mk/bsd.tex.mk
+++ b/Mk/bsd.tex.mk
@@ -258,9 +258,11 @@ PLIST_DIRSTRY= ${TEXMFVARDIR}/web2c \
.if !empty(USE_TEX:Mupdmap)
.PHONY: do-updmap
do-updmap:
+.if defined(NO_STAGE)
${SETENV} PATH=${PATH}:${LOCALBASE}/bin \
TEXMFMAIN=${LOCALBASE}/${TEXMFDIR} \
${LOCALBASE}/bin/updmap-sys
+.endif
@${ECHO_CMD} "@exec ${SETENV} PATH=${PATH}:${LOCALBASE}/bin " \
"TEXMFMAIN=${LOCALBASE}/${TEXMFDIR} " \
"${LOCALBASE}/bin/updmap-sys" >> ${TMPPLIST}