Subject: Re: pkg/28640: misc/ja-less does not find pcre.h
To: None <georg.schwarz@freenet.de>
From: grant beattie <grant@NetBSD.org>
List: pkgsrc-bugs
Date: 12/13/2004 18:49:48
On Sun, Dec 12, 2004 at 11:03:01PM +0000, georg.schwarz@freenet.de wrote:
> >Description:
> compiling misc/ja-less fails:
> ...
> cc -I. -c -DSYSDIR=3D\"/usr/local/pkg/bin\" -O2 search.c
> cfe: Error: search.c: 47: Cannot open file pcre.h for #include
>=20
> >How-To-Repeat:
>=20
> >Fix:
> Add
>=20
> USE_BUILDLINK3=3D yes
>=20
> .include "../../devel/pcre/buildlink3.mk"
I don't think it actually needs pcre, but turning on buildlink3 means
we hide the pcre libraries and includes from the build. I suspect that
the configure script is somehow finding pcre and expecting to be able
to use it without any help.
can you try just setting USE_BUILDLINK3=3Dyes and not including
pcre/buildlink3.mk and see if that works? it worked here for me on
NetBSD-current.
grant.