Subject: Re: pkg/28640: misc/ja-less does not find pcre.h
To: None <>
From: Takahiro Kambe <>
List: pkgsrc-bugs
Date: 12/19/2004 11:00:07
In message <20041213074948.GA8541@fang>
	on Mon, 13 Dec 2004 18:49:48 +1100,
	grant beattie <> wrote:
> > >Fix:
> > Add
> > 
> > 
> > .include "../../devel/pcre/"
> 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.
configure script try to find a usable regular expression library.


Default is auto and from original PR,

>>> cc -I. -c -DSYSDIR=\"/usr/local/pkg/bin\"   -O2 search.c
>>> cfe: Error: search.c: 47: Cannot open file pcre.h for #include

It seems that none-existing pcre was detected, it's really strange.
What is usable regular expression on IRIX?

Anyway, adding buildlink to pcre cause needless dependency. 
Another way is adding "--with-regex=posix" to CONFIGURE_ARGS.
(But, I don't know "posix" is usable on all platform...)

Takahiro Kambe <>