[46398] trunk/dports/tex/texlive_base/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Tue Feb 3 20:54:13 PST 2009


Revision: 46398
          http://trac.macports.org/changeset/46398
Author:   mcalhoun at macports.org
Date:     2009-02-03 20:54:12 -0800 (Tue, 03 Feb 2009)
Log Message:
-----------
texlive_base:
If the xorg-* ports use +system_x11, then the configure script must search for X11 libraries.
It will not find them unless it searches for libraries which end with .dylib.

Modified Paths:
--------------
    trunk/dports/tex/texlive_base/Portfile

Modified: trunk/dports/tex/texlive_base/Portfile
===================================================================
--- trunk/dports/tex/texlive_base/Portfile	2009-02-04 04:53:14 UTC (rev 46397)
+++ trunk/dports/tex/texlive_base/Portfile	2009-02-04 04:54:12 UTC (rev 46398)
@@ -69,6 +69,12 @@
 livecheck.url       ${homepage}acquire.html
 livecheck.regex     "TeX Live (\[0-9\]+) "
 
+post-patch {
+    # Allow configure script to find libraries which end in .dylib.
+    reinplace "s|for ac_extension in a so sl; do|for ac_extension in a so sl dylib; do|" \
+        ${worksrcpath}/configure
+}
+
 pre-configure {
     reinplace "s|@echo|@/bin/echo|" ${worksrcpath}/libs/icu-xetex/config/mh-darwin
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090203/0035c0dd/attachment.html>


More information about the macports-changes mailing list