openbsd-ports/x11/gnome/gedit-latex/patches/patch-latex_latex_environment_py
ajacoutot 59b1f522b5 Import gedit-latex-3.2.0.
gedit-latex is a plugin that provides features to ease the edition of
latex documents.

ok jasper@
2011-09-28 14:16:24 +00:00

15 lines
559 B
Plaintext

$OpenBSD: patch-latex_latex_environment_py,v 1.1.1.1 2011/09/28 14:16:24 ajacoutot Exp $
--- latex/latex/environment.py.orig Wed Sep 28 15:09:32 2011
+++ latex/latex/environment.py Wed Sep 28 15:10:55 2011
@@ -184,8 +184,8 @@ from ..base.file import File
class Environment(object):
- _CONFIG_FILENAME = "/etc/texmf/texmf.cnf"
- _DEFAULT_TEXMF_DIR = "/usr/share/texmf-texlive"
+ _CONFIG_FILENAME = "${LOCALBASE}/share/texmf/web2c/texmf.cnf"
+ _DEFAULT_TEXMF_DIR = "${LOCALBASE}/share/texmf"
_DEFAULT_TEXMF_DIR_HOME = "~/texmf"
"""