Subject: Re: buildlink and CFLAGS
To: Tomasz Luchowski <zuntum@netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 06/29/2001 04:55:46
Tomasz Luchowski <zuntum@netbsd.org> writes:
> 
> On Fri, Jun 29, 2001 at 11:38:45AM +0300, Martti Kuparinen wrote:
> > 
> > How do I tell Makefile (or whatever) that I want to have
> > 
> >     -I/usr/pkgsrc/www/kannel/work/.buildlink/include/libxml2
> > 
> > in CFLAGS in addition to the standard
> > 
> >     -I/usr/pkgsrc/www/kannel/work/.buildlink/include
> You may want to try:
> CFLAGS+=	-I${BUILDLINK_DIR}/include/libxml2
> 
> I'm not sure if it's entirely correct, maybe Johnny could tell you more.

Yes, that is how I'd do it.

	Cheers,

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/