aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2004-06-14 21:27:38 +0800
committerjmz <jmz@FreeBSD.org>2004-06-14 21:27:38 +0800
commit9f7e41ae926c5c85f6c5424def540225dd31c412 (patch)
treec717c2bab8c7a35173d0ac8d9ed7cca8d0a99b9e
parent1fdb0a71002a2bbea5f85971f8bcbf1a7e01c39c (diff)
downloadfreebsd-ports-gnome-9f7e41ae926c5c85f6c5424def540225dd31c412.tar.gz
freebsd-ports-gnome-9f7e41ae926c5c85f6c5424def540225dd31c412.tar.zst
freebsd-ports-gnome-9f7e41ae926c5c85f6c5424def540225dd31c412.zip
Make the build insensitive to an already defined TEXINPUTS environment variable.
PR: ports/40610
-rw-r--r--print/latex/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/print/latex/Makefile b/print/latex/Makefile
index 0e759324d307..2c11560583c1 100644
--- a/print/latex/Makefile
+++ b/print/latex/Makefile
@@ -7,6 +7,7 @@
PORTNAME= latex2e
PORTVERSION= 2003.12
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= jmz
@@ -28,8 +29,8 @@ NO_WRKSUBDIR= yes
do-build:
@${RM} ${WRKSRC}/tfm/dummy.tfm ${WRKSRC}/mf/cmex9.mf
- @(cd ${WRKSRC}/base; tex --ini unpack.ins)
- @(cd ${WRKSRC}/base; TEXFONTS=${WRKSRC}/tfm:; export TEXFONTS; \
+ @(cd ${WRKSRC}/base; TEXINPUTS=${WRKSRC}/base: export TEXINPUT; tex --ini unpack.ins)
+ @(cd ${WRKSRC}/base; TEXINPUTS=${WRKSRC}/base: TEXFONTS=${WRKSRC}/tfm:; export TEXFONTS TEXINPUT; \
tex --ini latex.ltx </dev/null)
@(cd ${WRKSRC}/tools; TEXFORMATS=${WRKSRC}/base:; \
TEXINPUTS=${WRKSRC}/base: export TEXFORMATS TEXINPUTS;\