Hi, Fabian,
The patches below will solve a few problems of tetex
unmasked by
profile.
> # doesn't install pdflatex in prefix and more issues
At least pdflatex will be in EPREFIX/usr/bin.
Since I don't know what are the "more issues", I'd
like to ask you to
check them, and possibly unmask the package.
--
MATSUI "Fe2+" Tetsushi
--- files/tetex-3.0_p1-prefix.patch.orig 2007-06-09 15:14:05
+0900
+++ files/tetex-3.0_p1-prefix.patch 2007-06-09 15:47:21
+0900
 -5,21
+5,21 
% The tree containing the runtime files closely related to
the specific
% program version used:
-TEXMFMAIN = /var/lib/texmf
-+TEXMFMAIN = prefix /var/lib/texmf
-
++TEXMFMAIN = GENTOO_PORTAGE_EPREFIX /var/lib/texmf
+
% The main distribution tree:
-TEXMFDIST = /usr/share/texmf
-+TEXMFDIST = prefix /usr/share/texmf
++TEXMFDIST = GENTOO_PORTAGE_EPREFIX /usr/share/texmf
% The Gentoo site tree:
-TEXMFSITE = /usr/share/texmf-site
-+TEXMFSITE = prefix /usr/share/texmf-site
++TEXMFSITE = GENTOO_PORTAGE_EPREFIX /usr/share/texmf-site
% A place for local additions to a "standard"
texmf tree.
% This tree is not used for local configuration maintained
by
% texconfig, it uses TEXMFCONFIG below.
-TEXMFLOCAL = /usr/local/share/texmf
-+TEXMFLOCAL = prefix /usr/local/share/texmf
++TEXMFLOCAL = GENTOO_PORTAGE_EPREFIX /usr/local/share/texmf
% TEXMFSYSVAR, where texconfig-sys stores variable runtime
data.
% With teTeX-3.0 or later, this must be set.
 -28,7
+28,7 
% were found in a system tree and either that tree wasn't
writable, or the
% varfonts feature was enabled in MT_FEATURES in
mktex.cnf.
-VARTEXFONTS = /var/cache/fonts
-+VARTEXFONTS = prefix /var/cache/fonts
++VARTEXFONTS = GENTOO_PORTAGE_EPREFIX /var/cache/fonts
% Where to look for ls-R files. There need not be an ls-R
in the
% directories in this path, but if there is one, Kpathsea
will use it.
 -37,7
+37,7 
% On some systems, there will be a system tree which
contains all the font
% files that may be created as well as the formats. For
example
-% TEXMFVAR = /var/lib/texmf
-+% TEXMFVAR = prefix /var/lib/texmf
++% TEXMFVAR = GENTOO_PORTAGE_EPREFIX /var/lib/texmf
% is used on many Linux systems. In this case, set
VARTEXFONTS like this
% VARTEXFONTS = $TEXMFVAR/fonts
% and do not mention it in TEXMFDBS (but _do_ mention
TEXMFVAR).
 -46,7
+46,7 
% The path given is correct for GROFF on Linux installed
under /usr.
% Originally: TRFONTS = /usr/lib/font/devpost
-TRFONTS = /usr/share/groff/current/font/devps
-+TRFONTS = prefix /usr/share/groff/current/font/devps
++TRFONTS = GENTOO_PORTAGE_EPREFIX /usr/share/groff/current/font/devps
MPSUPPORT = .;$TEXMF/metapost/support
% For xdvi to find mime.types and .mailcap, if they do not
exist in
 -55,7
+55,7 
% Write .log/.dvi/etc. files here, if the current
directory is unwritable.
-% TEXMFOUTPUT = /tmp
-+% TEXMFOUTPUT = prefix /tmp
++% TEXMFOUTPUT = GENTOO_PORTAGE_EPREFIX /tmp
% If a dynamic file creation fails, log the command to
this file, in
% either the current directory or TEXMFOUTPUT. Set to
the
--- tetex-3.0_p1-r3.ebuild.orig 2007-06-09 16:21:53 +0900
+++ tetex-3.0_p1-r3.ebuild 2007-06-09 16:22:10 +0900
 -61,6
+61,7 
# make sure config files also look in the prefix
epatch "$"/$-prefix.patch
+ eprefixify texk/kpathsea/texmf.in
}
src_compile() {
|