aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-07-21 03:41:05 +0800
committerantoine <antoine@FreeBSD.org>2014-07-21 03:41:05 +0800
commit6b54f5a39f7e1b90176f11fa4e06becbf24d972f (patch)
tree9380fcc29fa957e6f6cba0373e1ac3f983ef1f2f /Mk
parent3e96aefad179049b5f99053d8f6aac5f157e8453 (diff)
downloadfreebsd-ports-gnome-6b54f5a39f7e1b90176f11fa4e06becbf24d972f.tar.gz
freebsd-ports-gnome-6b54f5a39f7e1b90176f11fa4e06becbf24d972f.tar.zst
freebsd-ports-gnome-6b54f5a39f7e1b90176f11fa4e06becbf24d972f.zip
Fix stage violation for ports using USE_TEX=updmap
(this is currently unused) With hat: portmgr
Diffstat (limited to 'Mk')
-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}