Skip Menu |

This queue is for tickets about the re-engine-RE2 CPAN distribution.

Report information
The Basics
Id: 83467
Status: open
Priority: 0/
Queue: re-engine-RE2

People
Owner: Nobody in particular
Requestors: bochecha [...] fedoraproject.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.11
Fixed in: (no value)



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.

Google updates RE2 almost every month so the unbundled version should probably become the default. We use this patch against 8.13 to get critical re2 fixes. Otherwise, any option to use system re2 in Makefile.PL would be a help