mirror of https://git.freebsd.org/ports.git
databases/nanodbc: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation2023Q4
parent
15a656ba90
commit
41c598bf19
|
@ -22,4 +22,10 @@ CMAKE_ON= BUILD_SHARED_LIBS \
|
|||
NANODBC_DISABLE_TESTS NANODBC_DISABLE_EXAMPLES
|
||||
CMAKE_TESTING_ARGS= -DNANODBC_DISABLE_TESTS=OFF # many tests fail: Data source name not found and no default
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=deprecated-declarations -Wno-error=unused-command-line-argument
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in New Issue