[MacPorts] #35148: gegl 0.2.0_0 Syntax error before 'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
MacPorts
noreply at macports.org
Sat Aug 4 19:18:10 PDT 2012
#35148: gegl 0.2.0_0 Syntax error before
'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
-----------------------------+----------------------------------------------
Reporter: jovo@… | Owner: snc@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: tiger leopard | Port: gegl
-----------------------------+----------------------------------------------
Comment(by mdbecque@…):
I edited the port as listed above. The reinplace command ran as I can see
it in the log file but there is another error. It is a buffer error.
:info:build ../../gegl/opencl/cl_ext.h:150: warning: 'weak_import'
attribute ignored
:info:build ../../gegl/opencl/cl_ext.h:156: warning: 'weak_import'
attribute ignored
:info:build ../../gegl/opencl/cl_ext.h:171: warning: 'weak_import'
attribute ignored
:info:build make[3]: *** [gegl-buffer.lo] Error 1
I can post the whole log if you'd like to see it. thanks
Replying to [comment:13 snc@…]:
> Replying to [comment:11 snc@…]:
> > foreach header [glob ${worksrcpath}/{,*/,*/*/}*.h] {
> > if {${os.major} < 10} {
> > …
> > }
> > }
>
> If this does work and there's no need for other reinplace calls for the
other OSes, it'd be wise to put the foreach inside the if block.
--
Ticket URL: <https://trac.macports.org/ticket/35148#comment:14>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list