[MacPorts] #25191: openvrml +js_spidermonkey needs -I${prefix}/include/js

MacPorts noreply at macports.org
Wed Jun 9 14:30:24 PDT 2010


#25191: openvrml +js_spidermonkey needs -I${prefix}/include/js
----------------------------------+-----------------------------------------
 Reporter:  braden@…              |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.0                                
 Keywords:                        |        Port:  openvrml                             
----------------------------------+-----------------------------------------
 When building openvrml with `+js_spidermonkey`, `-I${prefix}/include/js`
 needs to be added to `CPPFLAGS`.

 Conceivably, `JS_CFLAGS` could be used for this instead. However, note
 that if `JS_CFLAGS` is '''not''' set, `configure` will set it to
 "`-DXP_UNIX -DJS_THREADSAFE`". This is ''probably'' correct for MacPorts'
 SpiderMonkey; but if it's not, `JS_CFLAGS` should be set to override it.

 So, assuming `JS_CFLAGS` doesn't need to be modified for some other
 reason, it should be sufficient to apply this `-I` flag in `CPPFLAGS`.

-- 
Ticket URL: <http://trac.macports.org/ticket/25191>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list