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

MacPorts noreply at macports.org
Thu Jun 10 00:41:04 PDT 2010


#25191: openvrml +js_spidermonkey needs -I${prefix}/include/js
-----------------------------------+----------------------------------------
  Reporter:  braden@…              |       Owner:  raphael@…           
      Type:  defect                |      Status:  closed              
  Priority:  Normal                |   Milestone:                      
 Component:  ports                 |     Version:  1.9.0               
Resolution:  fixed                 |    Keywords:                      
      Port:  openvrml              |  
-----------------------------------+----------------------------------------

Comment(by braden@…):

 Replying to [comment:2 raphael@…]:
 > Here on Mac OS X 10.6.3 on an Intel Core Duo {{{JS_CFLAGS}}} is not set.
 If I add {{{-I${prefix}/include/js}}} to {{{CPPFLAGS}}} configure fails
 with the following error in {{{config.log}}}:

 Sigh. Of course.

 > Adding {{{JS_CFLAGS="-DXP_UNIX -DJS_THREADSAFE
 -I${prefix}/include/js"}}} to the configure environment works for me.

 Yes, I think that's the Right Thing. It's a shame that the stand-alone
 SpiderMonkey doesn't provide pkg-config metadata; but if it did, that's
 probably what it would have in it.

 > Fixed in r68681.

 Thanks.

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


More information about the macports-tickets mailing list