diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2005-06-09 01:48:38 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2005-06-09 01:48:38 +0000 |
commit | a2ce8c83778f320c19f2726a8f803e93471ce4c2 (patch) | |
tree | 2180ab02fcd55d8abb342e09cb7b508f474cb459 /print/teTeX-base | |
parent | 53450fc31aa1dfe3d983849c33620c531620496e (diff) | |
download | ports-a2ce8c83778f320c19f2726a8f803e93471ce4c2.tar.gz ports-a2ce8c83778f320c19f2726a8f803e93471ce4c2.zip |
Notes
Diffstat (limited to 'print/teTeX-base')
-rw-r--r-- | print/teTeX-base/Makefile | 9 | ||||
-rw-r--r-- | print/teTeX-base/files/pkg-message.in | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile index 37139bbdf9d7..61ece7814cc6 100644 --- a/print/teTeX-base/Makefile +++ b/print/teTeX-base/Makefile @@ -139,7 +139,8 @@ PLIST_SUB+= TEXMFDIR=${TEXMFDIR} \ FMTUTIL_SYS=${FMTUTIL_SYS} \ UPDMAP_SYS=${UPDMAP_SYS} \ SETENV=${SETENV} -PKGMESSAGE_SUB= TEXMFDIR=${TEXMFDIR} \ +SUB_FILES= pkg-message +SUB_LIST= TEXMFDIR=${TEXMFDIR} \ TEXMFDISTDIR=${TEXMFDISTDIR} \ PREFIX=${PREFIX} OLDCONFIG= web2c/texmf.cnf web2c/mktex.cnf web2c/fmtutil.cnf \ @@ -152,9 +153,11 @@ OLDCONFIG= web2c/texmf.cnf web2c/mktex.cnf web2c/fmtutil.cnf \ tex/context/config/cont-usr.tex \ pdftex/config/pdftex.cfg +# override several user-defined variables because the wrong +# configurations may break the build. +MAKE_ENV= TEXINPUTS= TEXMF= TEXMFCNF= + pre-su-install: - ${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ - < ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} .for F in ${OLDCONFIG} if [ -f ${PREFIX}/${TEXMFVARDIR}/${F} ]; then \ ${RM} -f ${PREFIX}/${TEXMFVARDIR}/${F}; \ diff --git a/print/teTeX-base/files/pkg-message.in b/print/teTeX-base/files/pkg-message.in index cfe2a4f29d5e..78a7d70bed41 100644 --- a/print/teTeX-base/files/pkg-message.in +++ b/print/teTeX-base/files/pkg-message.in @@ -1,3 +1,7 @@ You may want to run texconfig to configure teTeX for your local environment. You will find teTeX's local documentation in %%PREFIX%%/%%TEXMFDISTDIR%%/doc/. + +Note that if you have environment variables for teTeX in a wrong +way (such as TEXINPUTS, TEXMF, TEXMFCNF, and so on), +they may prevent teTeX from working. |