devel/pcre and WITH_UTF8

Michael C. Shultz ringworm01 at gmail.com
Mon Feb 21 10:33:01 PST 2005


On Monday 21 February 2005 09:49 am, Thierry Thomas wrote:
> Le Lun 21 fév 05 à 17:30:36 +0100, Michael C. Shultz
> <ringworm01 at gmail.com>
>
>  écrivait :
> > > For the port I'm talking about, I can think of a way to test if
> > > pcre has UTF8 support, but not on how to force reinstall.
> >
> > This seems like a good solution on its own. Just do the test you
> > described, if it fails print a message that says pcre needs to be
> > built with WITH_UTF8=yes or however that port sets its options. No
> > need to modify the ports system.
>
> It's OK to check if the required option has been enabled, but this is
> not sufficient: with this solution it would be impossible to package
> the port and you have to define IS_INTERACTIVE. A slave port would be
> fine.

I was addressing this comment:
>
> By the way, would it be simpler to record the build option in
> /var/db/pkg ? In fact, ports using "make config" already record
> option in /var/db/ports, generalizing this for non-interactive ports
> could be a good starting point.

A slave port would be fine, the ports system allready allows for that.

-Mike


More information about the freebsd-ports mailing list