[48195] trunk/dports/x11/mesa/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Mar 16 13:31:43 PDT 2009
Revision: 48195
http://trac.macports.org/changeset/48195
Author: jeremyhu at macports.org
Date: 2009-03-16 13:31:42 -0700 (Mon, 16 Mar 2009)
Log Message:
-----------
mesa: Added a note about HW rendering on Tiger needing xorg-server
Modified Paths:
--------------
trunk/dports/x11/mesa/Portfile
Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile 2009-03-16 18:52:11 UTC (rev 48194)
+++ trunk/dports/x11/mesa/Portfile 2009-03-16 20:31:42 UTC (rev 48195)
@@ -117,6 +117,14 @@
}
}
+platform darwin 8 {
+ post-activate {
+ if {[file exists ${prefix}/lib/pkgconfig/gl.pc] && [variant_isset hw_render]} {
+ ui_msg "In order to use OpenGL on Tiger, you need to use MacPorts' X11 server (xorg-server) rather than Apple's."
+ }
+ }
+}
+
variant system_x11 conflicts hw_render description {Install a stub package to use the system X11 libraries rather than MacPorts} {
if { [file exists ${x11prefix}/lib/libGLU.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
depends_build
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090316/0d2b136a/attachment.html>
More information about the macports-changes
mailing list