[CFT] TexLive port

Denny Lin dennylin93 at hs.ntnu.edu.tw
Mon Aug 13 02:45:38 UTC 2012


Hi,

On Sun, Aug 12, 2012 at 10:12:33AM +0200, Dominic Fandrey wrote:
> On 31/07/2012 00:48, Dominic Fandrey wrote:
> Here we go:
> http://www.home.hs-karlsruhe.de/~fado1011/texlive/
> 
> # mkdir ~/texlive
> # cd ~/texlive
> # fetch http://www.home.hs-karlsruhe.de/~fado1011/texlive/patch-ports-graphics-poppler.txt http://www.home.hs-karlsruhe.de/~fado1011/texlive/shar-ports-print-texlive.txt
> # cd /usr
> # patch < ~/texlive/patch-ports-graphics-poppler.txt
> # sh ~/texlive/shar-ports-print-texlive.txt
> # portmaster graphics/poppler

Adding this line to print/texlive-base/Makefile should remove the need
to patch graphics/poppler:
CFLAGS+= -I${LOCALBASE}/include 

> If you don't have teTeX installed:
> # portmaster print/texlive
> 
> If you have teTeX installed:
> # portmaster -o print/texlive-texmf print/teTeX-texmf
> # portmaster -o print/texlive-base print/teTeX-base
> # portmaster -o print/texlive print/teTeX

This probably needs to be run before portmaster if teTeX is installed:
# pkg_delete -f 'dvipsk-tetex-*'
# pkg_delete -f 'xdvik-tetex-*'

print/texlive-base fails to build/install for some reason:
gmake[4]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[3]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[2]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk/texlive'
gmake[1]: Leaving directory `/usr/ports/print/texlive-base/work/texlive-20120701-source/texk'
texlinks: config file `fmtutil.cnf' not found.

I tried searching for fmtutil.cnf:
# find work/texlive-20120701-source/ -name fmtutil.cnf
work/texlive-20120701-source/texk/tetex/fmtutil.cnf

This error occurs even when I patched poppler, so it should be unrelated
to the workaround mentioned above.

-- 
Denny Lin


More information about the freebsd-ports mailing list