git: 3a9e6a4c6533 - main - databases/lua-xapian: Update to 1.4.24

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 17:18:12 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3a9e6a4c653393df86719e485a8936add2fb6296

commit 3a9e6a4c653393df86719e485a8936add2fb6296
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-14 16:38:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-14 17:15:35 +0000

    databases/lua-xapian: Update to 1.4.24
    
    - Clean up CONFIGURE_ARGS
    
    Changes:        https://trac.xapian.org/wiki/ReleaseOverview
---
 databases/lua-xapian/Makefile              | 9 ++++++---
 databases/lua-xapian/distinfo              | 6 +++---
 databases/lua-xapian/files/patch-configure | 2 +-
 3 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/databases/lua-xapian/Makefile b/databases/lua-xapian/Makefile
index 54ca676523a4..5a405e4709da 100644
--- a/databases/lua-xapian/Makefile
+++ b/databases/lua-xapian/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	xapian
-PORTVERSION=	1.4.23
+PORTVERSION=	1.4.24
 DISTVERSIONPREFIX=	bindings-
 CATEGORIES=	databases
 MASTER_SITES=	https://oligarchy.co.uk/xapian/${PORTVERSION}/ \
@@ -27,12 +27,15 @@ CONFIGURE_ARGS=	--datarootdir=${DATADIR} \
 		--without-java \
 		--without-perl \
 		--without-php \
-		--without-php7 \
 		--without-python \
 		--without-python3 \
 		--without-ruby \
 		--without-tcl
-CONFIGURE_ENV=	LUA="${LUA_CMD}" LUA_INC="${LUA_INCDIR}" LUA_LIB="${LUA_MODLIBDIR}" LUA_SO=.so
+CONFIGURE_ENV=	LUA="${LUA_CMD}" \
+		LUA_CFLAGS="-I${LUA_INCDIR}" \
+		LUA_LIB="${LUA_MODLIBDIR}" \
+		LUA_LIBS="-L${LOCALBASE}/lib -llua-${LUA_VER}" \
+		LUA_SO=.so
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
 USE_CXXSTD=	c++11
diff --git a/databases/lua-xapian/distinfo b/databases/lua-xapian/distinfo
index e50b3af72d14..af2a9b9045fe 100644
--- a/databases/lua-xapian/distinfo
+++ b/databases/lua-xapian/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688902023
-SHA256 (xapian-bindings-1.4.23.tar.xz) = e0bc8cc0ecf0568549c50b51fd59e4cffb5318d6f202afcd4465855ef5f33f7d
-SIZE (xapian-bindings-1.4.23.tar.xz) = 1076480
+TIMESTAMP = 1699774484
+SHA256 (xapian-bindings-1.4.24.tar.xz) = 513d578488279198ace13ad497510d2b22204d5d794b64143d05b7be974eb6cf
+SIZE (xapian-bindings-1.4.24.tar.xz) = 1112744
diff --git a/databases/lua-xapian/files/patch-configure b/databases/lua-xapian/files/patch-configure
index 6b9dce2bb21b..14e67dc6f4e0 100644
--- a/databases/lua-xapian/files/patch-configure
+++ b/databases/lua-xapian/files/patch-configure
@@ -5,7 +5,7 @@
                      SWIG_CXXFLAGS="-fno-strict-aliasing"
  
 -              XAPIAN_LIBS="$XAPIAN_LIBS -lstdc++"
-+              XAPIAN_LIBS="$XAPIAN_LIBS "
++              XAPIAN_LIBS="$XAPIAN_LIBS"
  
  
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext