summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2025-10-30 10:24:58 +0800
committerVanilla I. Shu <vanilla@FreeBSD.org>2025-10-30 10:26:12 +0800
commit1d10aaac2bb1e876bfc1daa38916063076d45c27 (patch)
tree1d3569c5101f1541c76ea9da7f3b99b5cb4ae9a1
parentgames/veloren-weekly: update to s20251029 (diff)
devel/pecl-swoole: enable SSL support, also add ODBC/SQLITE as options.
PR: 290662 Reported by: mgrooms at shrew.net
-rw-r--r--devel/pecl-swoole/Makefile13
1 files 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>