- Added OPTION to enable extension library loading
PR: ports/143329 Submitted by: glarkin Approved by: maintainer timeout (mnag; 37 days) Feature safe: yes
This commit is contained in:
parent
6f9d598dba
commit
78d5731e00
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250603
1 changed files with 8 additions and 1 deletions
|
@ -32,7 +32,8 @@ OPTIONS= DEBUG "Enable debugging & verbose explain" off \
|
|||
RAMTABLE "Store temporary tables in RAM" off \
|
||||
TCLWRAPPER "Enable TCL wrapper" off \
|
||||
METADATA "Enable column metadata" on \
|
||||
THREADSAFE "Build thread-safe library" on
|
||||
THREADSAFE "Build thread-safe library" on \
|
||||
EXTENSION "Allow loadable extensions" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -80,6 +81,12 @@ CONFIGURE_ARGS+= --enable-threadsafe \
|
|||
CONFIGURE_ARGS+= --disable-threadsafe
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_EXTENSION)
|
||||
CONFIGURE_ARGS+= --enable-load-extension
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-load-extension
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TCLWRAPPER)
|
||||
post-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/.libs/tclsqlite3 ${PREFIX}/bin
|
||||
|
|
Loading…
Reference in a new issue