1: Update to 2.3.3.
2: add odbc & firebird driver.
This commit is contained in:
parent
57896f0316
commit
409b90a5b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416806
3 changed files with 15 additions and 5 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= luasql
|
||||
PORTVERSION= 2.3.1
|
||||
PORTVERSION= 2.3.3
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= databases
|
||||
|
@ -29,7 +29,6 @@ MAKE_ARGS= LUA_DIR=${LUA_SUBDIR} \
|
|||
WARN="${CFLAGS}" \
|
||||
CC="${CC}"
|
||||
|
||||
USE_CSTD= gnu89
|
||||
CFLAGS+= -Wno-return-type
|
||||
|
||||
PLIST_SUB= LUA_MIDLIBDIR=${LUA_MODLIBDIR} \
|
||||
|
@ -50,6 +49,16 @@ COMMENT= Lua interface to SQLite3
|
|||
USES+= sqlite
|
||||
MAKE_ARGS+= DRIVER_LIBS_sqlite3="-L ${LOCALBASE}/lib -lsqlite3" \
|
||||
DRIVER_INCS_sqlite3="-I ${LOCALBASE}/include"
|
||||
.elif ${LUASQL_DRIVER} == "odbc"
|
||||
COMMENT= Lua interface to ODBC
|
||||
LIB_DEPENDS+= libodbc.so:databases/unixODBC
|
||||
MAKE_ARGS+= DRIVER_LIBS_odbc="-L ${LOCALBASE}/lib -lodbc" \
|
||||
DRIVER_INCS_odbc="-I ${LOCALBASE}/include -DUNIXODBC"
|
||||
.elif ${LUASQL_DRIVER} == "firebird"
|
||||
COMMENT= Lua interface to Firebird
|
||||
USES+= firebird
|
||||
MAKE_ARGS+= DRIVER_LIBS_firebird="-L ${LOCALBASE}/lib -lfbclient" \
|
||||
DRIVER_INCS_firebird="-I ${LOCALBASE}/include"
|
||||
.else
|
||||
IGNORE= unknown or unsupported luasql driver
|
||||
.endif
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (keplerproject-luasql-v2.3.1_GH0.tar.gz) = 281f4d2c7d563551145169e2da41b5942a7aa15f4aedbcd73d53a8f8589c49e8
|
||||
SIZE (keplerproject-luasql-v2.3.1_GH0.tar.gz) = 101048
|
||||
TIMESTAMP = 1465738646
|
||||
SHA256 (keplerproject-luasql-v2.3.3_GH0.tar.gz) = 6c95d61afb8c8678629a53c559389885205c7be5faba53698fd0dd4bd96f3ac0
|
||||
SIZE (keplerproject-luasql-v2.3.3_GH0.tar.gz) = 101025
|
||||
|
|
|
@ -4,4 +4,4 @@ LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:
|
|||
* Execute arbitrary SQL statements;
|
||||
* Retrieve results in a row-by-row cursor fashion.
|
||||
|
||||
WWW: http://www.keplerproject.org/luasql/
|
||||
WWW: https://github.com/keplerproject/luasql/
|
||||
|
|
Loading…
Reference in a new issue