tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Lib missing in audio/portaudio?



On Fri, 18 Jan 2008 21:20:34 +0100
Klaus Heinz <k.heinz%janacht.kh-22.de@localhost> wrote:
> D'Arcy J.M. Cain wrote:
> 
> >  CFLAGS.Darwin=         -Ipablio
> > +CFLAGS +=              -lrt
> > 
> >  EXTRACT_OPTS_ZIP=      -aqo
> > 
> > However, that won't be very portable.  Is there a better way to do this?
> 
> If this is a "NetBSD-only" change, why not follow the line above and use
> 
>   CFLAGS.NetBSD+=     -lrt
> 
> CFLAGS is one of the few variables where this is possible by default.
> See "make show-var VARNAME=OPSYSVARS" for all of them.

Sure but I thought there might be a better way.  NetBSD may not be the
only system that needs it.

There seems to be code in mk/pthread.builtin.mk to detect if this is
needed but it is not being triggered.  Is there a problem in that area
rather than this specific package?  I tried adding the line;

  .include "../../mk/pthread.builtin.mk"

but that didn't help either.

-- 
D'Arcy J.M. Cain <darcy%NetBSD.org@localhost>
http://www.NetBSD.org/



Home | Main Index | Thread Index | Old Index