git: 1d10aaac2bb1 - main - devel/pecl-swoole: enable SSL support, also add ODBC/SQLITE as options.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Oct 2025 02:26:19 UTC
The branch main has been updated by vanilla:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1d10aaac2bb1e876bfc1daa38916063076d45c27
commit 1d10aaac2bb1e876bfc1daa38916063076d45c27
Author: Vanilla I. Shu <vanilla@FreeBSD.org>
AuthorDate: 2025-10-30 02:24:58 +0000
Commit: Vanilla I. Shu <vanilla@FreeBSD.org>
CommitDate: 2025-10-30 02:26:12 +0000
devel/pecl-swoole: enable SSL support, also add ODBC/SQLITE as options.
PR: 290662
Reported by: mgrooms at shrew.net
---
devel/pecl-swoole/Makefile | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile
index 76b4b1bb2ecc..c8115f61f16a 100644
--- a/devel/pecl-swoole/Makefile
+++ b/devel/pecl-swoole/Makefile
@@ -1,5 +1,6 @@
PORTNAME= swoole
-PORTVERSION= 6.1.0
+DISTVERSION= 6.1.0
+PORTREVISION= 1
CATEGORIES= devel net
MAINTAINER= vanilla@FreeBSD.org
@@ -15,9 +16,9 @@ NOT_FOR_ARCHS_REASON= upstream drop 32 bits support
USES= compiler:c11 localbase:ldflags php:build,pecl pkgconfig ssl
IGNORE_WITH_PHP= 85
-CONFIGURE_ARGS+= --enable-mysqlnd
+CONFIGURE_ARGS+= --enable-mysqlnd --enable-openssl
-OPTIONS_DEFINE= BROTLI CARES CURL PGSQL SOCKETS ZSTD
+OPTIONS_DEFINE= BROTLI CARES CURL ODBC PGSQL SOCKETS SQLITE ZSTD
CARES_LIB_DEPENDS= libcares.so:dns/c-ares
CARES_CONFIGURE_ON= --enable-cares
SOCKETS_USE= PHP=sockets:build
@@ -35,5 +36,11 @@ BROTLI_LIB_DEPENDS= libbrotlicommon.so:archivers/brotli
ZSTD_CONFIGURE_ON= --enable-zstd
ZSTD_CONFIGURE_OFF= --disable-zstd
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
+ODBC_CONFIGURE_ON= --with-swoole-odbc=unixODBC
+ODBC_CONFIGURE_OFF= --without-swoole-odbc
+ODBC_USE= PHP=odbc:build
+SQLITE_CONFIGURE_ON= --enable-swoole-sqlite
+SQLITE_CONFIGURE_OFF= --disable-swoole-sqlite
+SQLITE_USE= PHP=sqlite3
.include <bsd.port.mk>