[Bug 257111] databases/py-apsw: Add option to enable EXTENSION loading

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 12 Jul 2021 07:23:55 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257111

Guido Falsi <madpilot@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://launchpad.net/bugs/
                   |                            |1935747

--- Comment #2 from Guido Falsi <madpilot@FreeBSD.org> ---
(In reply to Kubilay Kocak from comment #1)

As I reported in the linked bug report upstream (adding it to see also) calibre
will simply fail to start if load_extension is not enabled in py-apsw.

I proposed this patch with an OPTION because it looked reasonable to me. I can
leave the option and propose also a slave port, forcing the option on, for
calibre to depend on, or also do the same removing options and using flavors
(not sure which way is the preferred one at present).

Since the slave port or the flavors would be in conflict with each other these
also look problematic though.

I'm also ok with removing the OPTION and make extension loading always on
simply adding an unconditional PYDISTUTILS_BUILDARGS+=--enable=load_extension
to the port. Not sure how well this would play if the EXTENSION option is
disabled in sqlite3 port though.

-- 
You are receiving this mail because:
You are on the CC list for the bug.