mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Update to 2.3.1.
PR: 208864 Submitted by: tkato432 yahoo com Sponsored by: Absolight
This commit is contained in:
parent
73628f8ea3
commit
6329883fe2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413574
@ -2,9 +2,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= luasql
|
||||
PORTVERSION= 2.3.0
|
||||
PORTVERSION= 2.3.1
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= databases
|
||||
PKGNAMESUFFIX= -${LUASQL_DRIVER}
|
||||
|
||||
@ -17,7 +17,7 @@ USE_GITHUB= yes
|
||||
GH_ACCOUNT= keplerproject
|
||||
|
||||
USES= lua gmake
|
||||
ALL_TARGET= lib
|
||||
ALL_TARGET= ${LUASQL_DRIVER}
|
||||
|
||||
LUASQL_DRIVER?= mysql
|
||||
|
||||
@ -37,18 +37,18 @@ PLIST_SUB+= LUA_MIDLIBDIR=${LUA_MODLIBDIR}
|
||||
.if ${LUASQL_DRIVER} == "mysql"
|
||||
COMMENT= Lua interface to MySQL
|
||||
USE_MYSQL= yes
|
||||
MAKE_ARGS+= DRIVER_LIBS="-L ${LOCALBASE}/lib/mysql -lmysqlclient" \
|
||||
DRIVER_INCS="-I ${LOCALBASE}/include/mysql"
|
||||
MAKE_ARGS+= DRIVER_LIBS_mysql="-L ${LOCALBASE}/lib/mysql -lmysqlclient" \
|
||||
DRIVER_INCS_mysql="-I ${LOCALBASE}/include/mysql"
|
||||
.elif ${LUASQL_DRIVER} == "postgres"
|
||||
COMMENT= Lua interface to PostgreSQL
|
||||
USES+= pgsql
|
||||
MAKE_ARGS+= DRIVER_LIBS="-L ${LOCALBASE}/lib -lpq" \
|
||||
DRIVER_INCS="-I ${LOCALBASE}/include"
|
||||
MAKE_ARGS+= DRIVER_LIBS_postgres="-L ${LOCALBASE}/lib -lpq" \
|
||||
DRIVER_INCS_postgres="-I ${LOCALBASE}/include"
|
||||
.elif ${LUASQL_DRIVER} == "sqlite3"
|
||||
COMMENT= Lua interface to SQLite3
|
||||
USE_SQLITE= 3
|
||||
MAKE_ARGS+= DRIVER_LIBS="-L ${LOCALBASE}/lib -lsqlite3" \
|
||||
DRIVER_INCS="-I ${LOCALBASE}/include"
|
||||
USES+= sqlite
|
||||
MAKE_ARGS+= DRIVER_LIBS_sqlite3="-L ${LOCALBASE}/lib -lsqlite3" \
|
||||
DRIVER_INCS_sqlite3="-I ${LOCALBASE}/include"
|
||||
.else
|
||||
IGNORE= unknown or unsupported luasql driver
|
||||
.endif
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (keplerproject-luasql-v2.3.0_GH0.tar.gz) = e173ff7b17a2757951b4b2f67d3b1bfe04caad7185b68cffa7758ce822e25e9f
|
||||
SIZE (keplerproject-luasql-v2.3.0_GH0.tar.gz) = 80809
|
||||
SHA256 (keplerproject-luasql-v2.3.1_GH0.tar.gz) = 281f4d2c7d563551145169e2da41b5942a7aa15f4aedbcd73d53a8f8589c49e8
|
||||
SIZE (keplerproject-luasql-v2.3.1_GH0.tar.gz) = 101048
|
||||
|
@ -1,8 +1,6 @@
|
||||
# Created by: Martin Matuska <martin@matuska.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= luasql
|
||||
|
||||
LUASQL_DRIVER= postgres
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../luasql-mysql
|
||||
|
@ -1,8 +1,6 @@
|
||||
# Created by: Martin Matuska <martin@matuska.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= luasql
|
||||
|
||||
LUASQL_DRIVER= sqlite3
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../luasql-mysql
|
||||
|
Loading…
Reference in New Issue
Block a user