On Fri, Apr 19, 2002 at 08:18:39PM +0200, Stoned Elipot wrote:
> On Fri, Apr 19, 2002 at 08:17:47PM +0200, Julio Merino wrote:
> > CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${BUILDLINK_DIR}/include/cdparanoia"
>
> This should be CPPFLAGS.
And more for LDFLAGS, CPPFLAGS, CFLAGS, CC and a couple of other things
you don't have to explicitely add them to CONFIGURE_ENV.
This is described in section 8.1 "Using buildlink.mk files" of
pkgsrc/Packages.txt.
See CONFIGURE_ENV assignments in bsd.pkg.mk as well as the commands of
the standard do-configure target.
So that would be:
CPPFLAGS+="-I${BUILDLINK_DIR}/include/cdparanoia"
Best regards, Stoned.