[81238] users/dports/ports/tex/texlive-bin

dports at macports.org dports at macports.org
Wed Jul 27 18:45:43 PDT 2011


Revision: 81238
          http://trac.macports.org/changeset/81238
Author:   dports at macports.org
Date:     2011-07-27 18:45:43 -0700 (Wed, 27 Jul 2011)
Log Message:
-----------
texlive-bin: in kpathsea/paths.h, it looks like we don't need to set
DEFAULT_TEXMFCNF unconditionally; also, set DEFAULT_CLUAINPUTS to
something reasonable

Modified Paths:
--------------
    users/dports/ports/tex/texlive-bin/Portfile
    users/dports/ports/tex/texlive-bin/files/texk_kpathsea_paths.h

Modified: users/dports/ports/tex/texlive-bin/Portfile
===================================================================
--- users/dports/ports/tex/texlive-bin/Portfile	2011-07-28 01:21:00 UTC (rev 81237)
+++ users/dports/ports/tex/texlive-bin/Portfile	2011-07-28 01:45:43 UTC (rev 81238)
@@ -83,6 +83,7 @@
     # paths.h with the right path substituted in.
     delete ${worksrcpath}/texk/kpathsea/texmf.cnf
     file copy ${filespath}/texk_kpathsea_paths.h ${worksrcpath}/texk/kpathsea/paths.h
+    reinplace "s|@@PREFIX@@|${prefix}|" ${worksrcpath}/texk/kpathsea/paths.h
     reinplace "s|@@TEXMFSYSCONFIG@@|${texlive_texmfsysconfig}|" ${worksrcpath}/texk/kpathsea/paths.h
     reinplace "s|@@TEXMFSYSCONFIG@@|${texlive_texmfsysconfig}|" ${worksrcpath}/texk/texlive/context/mtxrun
 

Modified: users/dports/ports/tex/texlive-bin/files/texk_kpathsea_paths.h
===================================================================
--- users/dports/ports/tex/texlive-bin/files/texk_kpathsea_paths.h	2011-07-28 01:21:00 UTC (rev 81237)
+++ users/dports/ports/tex/texlive-bin/files/texk_kpathsea_paths.h	2011-07-28 01:45:43 UTC (rev 81238)
@@ -311,7 +311,7 @@
 #endif
 
 #ifndef DEFAULT_CLUAINPUTS
-#define DEFAULT_CLUAINPUTS ".:$SELFAUTOLOC/lib/{$progname,$engine,}/lua//"
+#define DEFAULT_CLUAINPUTS "@@PREFIX@@/lib/{$progname,$engine,}/lua//"
 #endif
 
 #ifndef DEFAULT_TEXMFSCRIPTS
@@ -334,7 +334,9 @@
 #define DEFAULT_RUBYINPUTS "/nonesuch"
 #endif
 
+#ifndef DEFAULT_TEXMFCNF
 #define DEFAULT_TEXMFCNF "@@TEXMFSYSCONFIG@@"
+#endif
 
 #ifndef DEFAULT_TEXMF_RESTRICTED_SCRIPTS
 #define DEFAULT_TEXMF_RESTRICTED_SCRIPTS "/nonesuch"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110727/95a28b52/attachment.html>


More information about the macports-changes mailing list