Subject: | Build against the system re2 library |
I just submitted re::engine::RE2 for inclusion in the Fedora repositories:
https://bugzilla.redhat.com/show_bug.cgi?id=913004
One condition for a package to be accepted in Fedora is that it doesn't
bundle any libraries, but instead build against the system ones.
As such, I had to patch re::engine::RE2 to do that (see attached patch)
However, that's a very blunt patch, to say the least: it just removes
the whole bundled re2 folder and adds a missing linker flag to Makefile.PL
Makefile.PL has this comment:
# TODO: Optionally use system libre2, via ExtUtils::Liblist?
Which makes me think you'd rather keep the bundled re2, but optionally
support building against the system one.
That's a bit more than what I'm capable to do with Makefile.PL's though,
which is why I went for the simpler road for now.
Hopefully, the patch could be useful as a starting point for what would
be needed to make that optional support happen. :)
Subject: | re-engine-RE2-0.11-Unbundle-re2.patch |
Message body is not shown because it is too large.