According to the glib documentation  (emphasis mine):
GRegex uses the PCRE library for regular expression matching. The
default is to use the internal version of PCRE that is patched to use
GLib for memory management and Unicode handling. If you prefer to use
the system-supplied PCRE library you can pass the --with-pcre=system
option to, *but it is not recommended*.
I see that the glib package for ptxdist has a hardcoded
--with-pcre=system option. Is there a reason for this?
Guillermo Rodriguez Garcia
ptxdist mailing list