[42221] trunk/dports/x11/xorg-cf-files/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Sun Nov 16 16:13:44 PST 2008


Revision: 42221
          http://trac.macports.org/changeset/42221
Author:   mcalhoun at macports.org
Date:     2008-11-16 16:13:43 -0800 (Sun, 16 Nov 2008)
Log Message:
-----------
xorg-cf-files: ensure that configuration files are found

Modified Paths:
--------------
    trunk/dports/x11/xorg-cf-files/Portfile

Modified: trunk/dports/x11/xorg-cf-files/Portfile
===================================================================
--- trunk/dports/x11/xorg-cf-files/Portfile	2008-11-16 23:51:30 UTC (rev 42220)
+++ trunk/dports/x11/xorg-cf-files/Portfile	2008-11-17 00:13:43 UTC (rev 42221)
@@ -25,8 +25,14 @@
     rmd160 dc42aa06d7fb5bc073d51958763bf1bfcfd22926
 
 post-configure {
+    #ensure that X11 libraries and inludes are found
     reinplace s|${prefix}|${x11prefix}|g ${worksrcpath}/site.def
     reinplace s|${prefix}|${x11prefix}|g ${worksrcpath}/site.def
+
+    #ensure that configuration files are found
+    reinplace "s|#define ConfigDir \$(LIBDIR)/config|#define ConfigDir ${prefix}/lib/X11/config|g" ${worksrcpath}/X11.tmpl
+
+    #ensure correct compilers are used
     reinplace -E s|/usr/bin/cpp\$|${configure.cpp}|g ${worksrcpath}/darwin.cf
     reinplace s|/usr/bin/cc|${configure.cc}|g ${worksrcpath}/darwin.cf
     reinplace s|/usr/bin/c++|${configure.cxx}|g ${worksrcpath}/darwin.cf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081116/9c75cd30/attachment-0001.html>


More information about the macports-changes mailing list