[61766] trunk/dports/x11/mesa

ryandesign at macports.org ryandesign at macports.org
Sun Dec 20 20:25:43 PST 2009


Revision: 61766
          http://trac.macports.org/changeset/61766
Author:   ryandesign at macports.org
Date:     2009-12-20 20:25:39 -0800 (Sun, 20 Dec 2009)
Log Message:
-----------
mesa: make sure we're UsingTheRightCompiler in gen_gl_h.sh

Modified Paths:
--------------
    trunk/dports/x11/mesa/Portfile

Added Paths:
-----------
    trunk/dports/x11/mesa/files/patch-gen_gl_h.sh.diff

Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile	2009-12-21 03:54:17 UTC (rev 61765)
+++ trunk/dports/x11/mesa/Portfile	2009-12-21 04:25:39 UTC (rev 61766)
@@ -57,6 +57,7 @@
 
 patch.pre_args -p1
 patchfiles \
+	patch-gen_gl_h.sh.diff \
 	mesa-7.2-drm_headers.patch
 
 build.target default

Added: trunk/dports/x11/mesa/files/patch-gen_gl_h.sh.diff
===================================================================
--- trunk/dports/x11/mesa/files/patch-gen_gl_h.sh.diff	                        (rev 0)
+++ trunk/dports/x11/mesa/files/patch-gen_gl_h.sh.diff	2009-12-21 04:25:39 UTC (rev 61766)
@@ -0,0 +1,11 @@
+--- a/../AppleSGLX-58/gen_gl_h.sh.orig	2009-03-19 16:08:01.000000000 -0500
++++ b/../AppleSGLX-58/gen_gl_h.sh	2009-12-20 22:04:14.000000000 -0600
+@@ -13,7 +13,7 @@
+       echo "#define GL_GLEXT_LEGACY 1"
+       generate_macros
+       echo '#include "/System/Library/Frameworks/OpenGL.framework/Headers/gl.h"'
+-    } | gcc -E - | grep typedef.*PFN
++    } | ${CC} -E - | grep typedef.*PFN
+ }
+ 
+ cat ${INFILE} | while IFS= read LINE ; do
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091220/3f66ee92/attachment.html>


More information about the macports-changes mailing list