1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

devel/libsoup: make NTLM (Samba) an option

Having Samba as a build-dep can still be heavy, so add
an OPTION to turn it off again; this just means that
the runtime check for ntlm will be skipped.

Thanks Barbara for insisting on a more configurable approach.
This commit is contained in:
Barbara 2021-05-18 23:44:10 +02:00 committed by Adriaan de Groot
parent 5a4e1813d3
commit adca3208aa

View File

@ -2,7 +2,7 @@
PORTNAME= libsoup
PORTVERSION= 2.72.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
@ -20,9 +20,13 @@ RUN_DEPENDS= glib-networking>=2.29.18:net/glib-networking
PORTSCOUT= limitw:1,even
OPTIONS_SINGLE= GSSAPI
OPTIONS_DEFINE= SMB
OPTIONS_SINGLE= GSSAPI
OPTIONS_SINGLE_GSSAPI= GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT GSSAPI_NONE
OPTIONS_DEFAULT= GSSAPI_${${SSL_DEFAULT} == base :?BASE :NONE}
OPTIONS_DEFAULT= SMB GSSAPI_${${SSL_DEFAULT} == base :?BASE :NONE}
SMB_USES= samba:build
SMB_MESON_ENABLED= ntlm
GSSAPI_BASE_USES= gssapi
GSSAPI_BASE_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG}
@ -36,7 +40,7 @@ GSSAPI_MIT_MESON_ON= -Dgssapi=enabled -Dkrb5_config=${KRB5CONFIG}
GSSAPI_NONE_MESON_DISABLED= gssapi
USES= gettext gnome localbase meson \
pkgconfig python:3.6+,build samba:build sqlite ssl tar:xz
pkgconfig python:3.6+,build sqlite ssl tar:xz
USE_GNOME= glib20 intlhack introspection:build \
libxml2
USE_LDCONFIG= yes
@ -44,8 +48,7 @@ MESON_ARGS= -Dvapi=disabled \
-Dsysprof=disabled \
-Dtests=false \
-Dgnome=true \
-Dbrotli=disabled \
-Dntlm=enabled
-Dbrotli=disabled
LIBVERSION= 1.11.0
PLIST_SUB= VERSION="2.4" LIBVERSION=${LIBVERSION}