- Add unixODBC option
PR: ports/141231 Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk> (maintainer)
This commit is contained in:
parent
cb4aae4193
commit
046199a0df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=245325
@ -26,7 +26,8 @@ OPTIONS= MYSQL "MySQL support" on \
|
||||
PGSQL "PostgreSQL support" off \
|
||||
ICONV "Iconv support" on \
|
||||
OPTIMIZED_CFLAGS "Use compiler optimization (-O3)" off \
|
||||
ID64 "use 64-bit document and word IDs" off
|
||||
ID64 "use 64-bit document and word IDs" off \
|
||||
UNIXODBC "unixODBC support" off
|
||||
|
||||
## FFR
|
||||
## LIBSTEMMER "compile with libstemmer support" off
|
||||
@ -70,6 +71,13 @@ CXXFLAGS+= -O3 -fomit-frame-pointer
|
||||
CONFIGURE_ARGS+= --enable-id64
|
||||
.endif
|
||||
|
||||
.if defined(WITH_UNIXODBC)
|
||||
CONFIGURE_ARGS+= --with-unixodbc
|
||||
LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-unixodbc
|
||||
.endif
|
||||
|
||||
## FFR. The snowball project doesn't release numbered versions of it's
|
||||
## pre-processors. Instead, at arbitrary intervals a snapshot of their
|
||||
## source repository is turned into a tarball (always the same filename)
|
||||
|
Loading…
Reference in New Issue
Block a user