[115262] trunk/dports/graphics/gegl/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Dec 30 01:46:12 PST 2013


Revision: 115262
          https://trac.macports.org/changeset/115262
Author:   jeremyhu at macports.org
Date:     2013-12-30 01:46:12 -0800 (Mon, 30 Dec 2013)
Log Message:
-----------
gegl: Expand blacklist and fix build on Leopard

Modified Paths:
--------------
    trunk/dports/graphics/gegl/Portfile

Modified: trunk/dports/graphics/gegl/Portfile
===================================================================
--- trunk/dports/graphics/gegl/Portfile	2013-12-30 09:26:05 UTC (rev 115261)
+++ trunk/dports/graphics/gegl/Portfile	2013-12-30 09:46:12 UTC (rev 115262)
@@ -56,7 +56,7 @@
 use_autoreconf  yes
 autoreconf.args -fvi
 
-compiler.blacklist-append gcc-4.2
+compiler.blacklist-append gcc-4.0 *gcc-4.2
 
 # gobject-introspection uses g-ir-scanner, which uses $CC from env
 
@@ -82,6 +82,9 @@
     if {${os.major} < 10} {
         reinplace "s|OpenGL/CGLDevice.h|OpenGL/CGLTypes.h|" ${worksrcpath}/gegl/opencl/cl_gl.h
     }
+
+    # Not sure what they expected by using these macros... they only belong in system headers...
+    reinplace "s/AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER//" ${worksrcpath}/gegl/opencl/cl_platform.h
 }
 
 platform darwin {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131230/49bf0e2d/attachment-0001.html>


More information about the macports-changes mailing list