From owner-freebsd-ports@FreeBSD.ORG Mon Aug 13 02:45:38 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9411106564A for ; Mon, 13 Aug 2012 02:45:38 +0000 (UTC) (envelope-from dennylin93@hs.ntnu.edu.tw) Received: from mail.hs.ntnu.edu.tw (mail.hs.ntnu.edu.tw [140.131.149.3]) by mx1.freebsd.org (Postfix) with ESMTP id 75F468FC0A for ; Mon, 13 Aug 2012 02:45:38 +0000 (UTC) Received: by mail.hs.ntnu.edu.tw (Postfix, from userid 1001) id 45F171C643B; Mon, 13 Aug 2012 10:45:31 +0800 (CST) Date: Mon, 13 Aug 2012 10:45:31 +0800 From: Denny Lin To: Dominic Fandrey Message-ID: <20120813024530.GC57907@mail.hs.ntnu.edu.tw> References: <50170F2E.2060804@bsdforen.de> <50276571.5070709@bsdforen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <50276571.5070709@bsdforen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@freebsd.org Subject: Re: [CFT] TexLive port X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2012 02:45:38 -0000 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