[115497] trunk/dports/graphics/gegl-devel/Portfile
Revision: 115497 https://trac.macports.org/changeset/115497 Author: jeremyhu@macports.org Date: 2014-01-03 07:11:55 -0800 (Fri, 03 Jan 2014) Log Message: ----------- gegl-devel: Misc build fixes from gegl port Modified Paths: -------------- trunk/dports/graphics/gegl-devel/Portfile Modified: trunk/dports/graphics/gegl-devel/Portfile =================================================================== --- trunk/dports/graphics/gegl-devel/Portfile 2014-01-03 14:39:20 UTC (rev 115496) +++ trunk/dports/graphics/gegl-devel/Portfile 2014-01-03 15:11:55 UTC (rev 115497) @@ -58,7 +58,7 @@ patch-ffmpeg.diff \ rename-for-altivec.patch -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 @@ -77,6 +77,16 @@ --enable-introspection=yes \ --without-umfpack +post-patch { + # http://trac.macports.org/ticket/35148 + 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 { if {[variant_isset universal]} { # In order to build universal on Leopard, you need MacPorts 2.1
participants (1)
-
jeremyhu@macports.org