[38087] trunk/dports

ryandesign at macports.org ryandesign at macports.org
Sat Jul 5 22:19:47 PDT 2008


Revision: 38087
          http://trac.macosforge.org/projects/macports/changeset/38087
Author:   ryandesign at macports.org
Date:     2008-07-05 22:19:46 -0700 (Sat, 05 Jul 2008)
Log Message:
-----------
cairo, gtk2, pango, xrender: indicate where the X11 installation is using --x-includes and --x-libraries, for users who have X11 in a nonstandard location; closes #15569

Modified Paths:
--------------
    trunk/dports/graphics/cairo/Portfile
    trunk/dports/x11/gtk2/Portfile
    trunk/dports/x11/pango/Portfile
    trunk/dports/x11/xrender/Portfile

Modified: trunk/dports/graphics/cairo/Portfile
===================================================================
--- trunk/dports/graphics/cairo/Portfile	2008-07-06 03:30:37 UTC (rev 38086)
+++ trunk/dports/graphics/cairo/Portfile	2008-07-06 05:19:46 UTC (rev 38087)
@@ -44,6 +44,8 @@
 # The +universal variant is written in such a way that the port's global
 # configure.args must not be empty!
 configure.args \
+    --x-includes=${x11prefix}/include \
+    --x-libraries=${x11prefix}/lib \
     --disable-glitz \
     --disable-quartz \
     --disable-quartz-font \
@@ -72,6 +74,8 @@
         port:xrender \
         port:render
     configure.args-delete \
+        --x-includes=${x11prefix}/include \
+        --x-libraries=${x11prefix}/lib \
         --enable-xlib \
         --enable-xlib-xrender \
         --with-x

Modified: trunk/dports/x11/gtk2/Portfile
===================================================================
--- trunk/dports/x11/gtk2/Portfile	2008-07-06 03:30:37 UTC (rev 38086)
+++ trunk/dports/x11/gtk2/Portfile	2008-07-06 05:19:46 UTC (rev 38087)
@@ -142,6 +142,8 @@
     depends_lib-append  port:xrender \
                         lib:libX11.6:xorg
 
+    configure.args-append       --x-includes=${x11prefix}/include \
+                                --x-libraries=${x11prefix}/lib
     configure.cppflags-append   -I${x11prefix}/include
 }
 

Modified: trunk/dports/x11/pango/Portfile
===================================================================
--- trunk/dports/x11/pango/Portfile	2008-07-06 03:30:37 UTC (rev 38086)
+++ trunk/dports/x11/pango/Portfile	2008-07-06 05:19:46 UTC (rev 38087)
@@ -44,6 +44,8 @@
     -bind_at_load
 
 configure.args \
+    --x-includes=${x11prefix}/include \
+    --x-libraries=${x11prefix}/lib \
     --enable-static \
     --enable-cairo
 
@@ -51,6 +53,9 @@
     depends_lib-delete \
         lib:libX11.6:XFree86 \
         port:Xft2
+    configure.args-delete \
+        --x-includes=${x11prefix}/include \
+        --x-libraries=${x11prefix}/lib
     configure.args-append \
         --without-x
 }

Modified: trunk/dports/x11/xrender/Portfile
===================================================================
--- trunk/dports/x11/xrender/Portfile	2008-07-06 03:30:37 UTC (rev 38086)
+++ trunk/dports/x11/xrender/Portfile	2008-07-06 05:19:46 UTC (rev 38087)
@@ -34,6 +34,10 @@
     }
 }
 
+configure.args \
+    --x-includes=${x11prefix}/include \
+    --x-libraries=${x11prefix}/lib \
+
 configure.universal_ldflags-append  -isysroot ${sysroot}
 
 use_parallel_build  yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080705/d00f9671/attachment.html 


More information about the macports-changes mailing list