Hello list,
Here's a patch to add FLAVORs for luadbi based on the Lua version. I
need this in order to have a 5.2-flavored luadbi to bump net/prosody to
use Lua 5.2, which is the recommended version for it since 0.11.0 and
0.11.x is going to be the last version supporting 5.1.
Portwise, I bumped REVISION, although I'm not sure if it's actually
needed in this case, and `make update-plist` added `@so` markers. The
port includes no tests and I actually don't use a DB for prosody, so I
have zero guarantees this actually works. Tests from people using such
setups are more than welcome.
Cheers,
-Lucas
Index: pkg/PLIST-main
===================================================================
RCS file: /home/cvs/ports/databases/luadbi/pkg/PLIST-main,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST-main
--- pkg/PLIST-main 15 May 2018 11:08:12 -0000 1.3
+++ pkg/PLIST-main 11 May 2021 17:10:02 -0000
@@ -2,7 +2,7 @@
lib/lua/
lib/lua/${MODLUA_VERSION}/
lib/lua/${MODLUA_VERSION}/dbd/
-lib/lua/${MODLUA_VERSION}/dbd/sqlite3.so
+@so lib/lua/${MODLUA_VERSION}/dbd/sqlite3.so
share/lua/
share/lua/${MODLUA_VERSION}/
share/lua/${MODLUA_VERSION}/DBI.lua
Index: pkg/PLIST-mysql
===================================================================
RCS file: /home/cvs/ports/databases/luadbi/pkg/PLIST-mysql,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST-mysql
--- pkg/PLIST-mysql 14 Jan 2018 15:36:40 -0000 1.2
+++ pkg/PLIST-mysql 11 May 2021 17:10:02 -0000
@@ -1,2 +1,2 @@
@comment $OpenBSD: PLIST-mysql,v 1.2 2018/01/14 15:36:40 landry Exp $
-lib/lua/${MODLUA_VERSION}/dbd/mysql.so
+@so lib/lua/${MODLUA_VERSION}/dbd/mysql.so
Index: pkg/PLIST-pgsql
===================================================================
RCS file: /home/cvs/ports/databases/luadbi/pkg/PLIST-pgsql,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST-pgsql
--- pkg/PLIST-pgsql 14 Jan 2018 15:36:40 -0000 1.2
+++ pkg/PLIST-pgsql 11 May 2021 17:10:02 -0000
@@ -1,2 +1,2 @@
@comment $OpenBSD: PLIST-pgsql,v 1.2 2018/01/14 15:36:40 landry Exp $
-lib/lua/${MODLUA_VERSION}/dbd/postgresql.so
+@so lib/lua/${MODLUA_VERSION}/dbd/postgresql.so