[65953] trunk/dports/x11/mesa/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Apr 3 11:26:18 PDT 2010
Revision: 65953
http://trac.macports.org/changeset/65953
Author: jeremyhu at macports.org
Date: 2010-04-03 11:26:14 -0700 (Sat, 03 Apr 2010)
Log Message:
-----------
mesa: Don't build gallium, remove more glew. #24349 #24345
Modified Paths:
--------------
trunk/dports/x11/mesa/Portfile
Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile 2010-04-03 17:54:47 UTC (rev 65952)
+++ trunk/dports/x11/mesa/Portfile 2010-04-03 18:26:14 UTC (rev 65953)
@@ -5,7 +5,7 @@
name mesa
version 7.8
-revision 1
+revision 2
categories x11 graphics
maintainers jeremyhu openmaintainer
description Mesa 3D Graphics Library
@@ -94,6 +94,9 @@
# http://trac.macports.org/ticket/24337
reinplace "s:glew::g" ${worksrcpath}/configs/darwin
+ # http://trac.macports.org/ticket/24345
+ reinplace "s:gallium::g" ${worksrcpath}/configs/darwin
+
# Ensure correct compilers are used in mklib.
reinplace "s:LINK=\"g++\":LINK=\"${configure.cxx}\":" ${worksrcpath}/bin/mklib
reinplace "s:LINK=\"cc\":LINK=\"${configure.cc}\":" ${worksrcpath}/bin/mklib
@@ -109,8 +112,11 @@
xinstall -m 755 -W "${worksrcpath}/progs/xdemos" glxgears glxinfo "${destroot}${prefix}/bin"
# http://trac.macports.org/ticket/24337
+ # http://trac.macports.org/ticket/24349
# mesa just installs all headers from GL/*.h
delete "${destroot}${prefix}/include/GL/glew.h"
+ delete "${destroot}${prefix}/include/GL/glxew.h"
+ delete "${destroot}${prefix}/include/GL/wglew.h"
}
variant hw_render description {Install a libGL.dylib that uses OpenGL.framework to allow rendering on your graphics hardware} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100403/8db35e2f/attachment.html>
More information about the macports-changes
mailing list