On Fri, Jun 01, 2007 at 09:18:46PM +0200, Alexander Sack <[EMAIL PROTECTED]> 
wrote:
> On Fri, Jun 01, 2007 at 09:04:36PM +0200, Mike Hommey wrote:
> > On Fri, Jun 01, 2007 at 08:49:17PM +0200, Alexander Sack <[EMAIL 
> > PROTECTED]> wrote:
> > > Package: libxul-dev
> > > Version: 1.8.1.4-1
> > > Severity: grave
> > > 
> > > 
> > > xulrunner-config --cflags broken for components:
> > > 
> > > while js component can now be properly queried:
> > > 
> > > $ xulrunner-config --cflags js
> > > -I/usr/include/mozjs -I/usr/include/nspr
> > > 
> > > 
> > > other (non-special case) components fail:
> > > 
> > > $ xulrunner-config --cflags xpcom
> > > -I/usr/include/xulrunner -I%includedir%/xpcom -I/usr/include/nspr
> > >                               ^^^^
> > 
> > Dammit. (What is it again that is using xulrunner-config and not
> > pkg-config ?)
> > 
> 
> My build of lightning/sunbird/ hacks the mozilla build system for
> instance gets CFLAGS and LIBS for REQUIRES automagically by evaluating
> (xxx-config --cflags $COMPONENT).
> 
> So its actually not used in the wild, but its ment to work, so lets
> please fix it. Any idea, why its not replaced when created from
> mozilla-config.in ?

Look at the rule creating the -config file in build/unix/Makefile.in.
It does sed (...) -e "s|%includedir%|$(includedir)|" (...)

I put 2 %includedir%'s in one line...

As a workaround, I'd suggest you to use pkg-config instead.

I won't fix this bug before taking care of stable security updates.

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to