[65935] trunk/dports/x11/mesa/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sat Apr 3 00:51:57 PDT 2010
Revision: 65935
http://trac.macports.org/changeset/65935
Author: jeremyhu at macports.org
Date: 2010-04-03 00:51:55 -0700 (Sat, 03 Apr 2010)
Log Message:
-----------
Don't install the glew.h header file. #24337.
Modified Paths:
--------------
trunk/dports/x11/mesa/Portfile
Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile 2010-04-03 06:54:45 UTC (rev 65934)
+++ trunk/dports/x11/mesa/Portfile 2010-04-03 07:51:55 UTC (rev 65935)
@@ -5,6 +5,7 @@
name mesa
version 7.8
+revision 1
categories x11 graphics
maintainers jeremyhu openmaintainer
description Mesa 3D Graphics Library
@@ -90,6 +91,9 @@
# I don't think this is needed... leaving since I'm not 100% certain
#reinplace "s:-fno-strict-aliasing:-fno-strict-aliasing -fno-common:g" ${worksrcpath}/configs/darwin
+ # http://trac.macports.org/ticket/24337
+ reinplace "s:glew::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
@@ -103,6 +107,10 @@
post-destroot {
xinstall -m 755 -W "${worksrcpath}/progs/xdemos" glxgears glxinfo "${destroot}${prefix}/bin"
+
+ # http://trac.macports.org/ticket/24337
+ # mesa just installs all headers from GL/*.h
+ delete "${destroot}${prefix}/include/GL/glew.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/ae157d21/attachment.html>
More information about the macports-changes
mailing list