[Bug 288797] devel/libsoup3: Fails to link with base gssapi in recent 15.0-PRERELEASE update

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Aug 2025 17:26:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288797

Lexi Winter <ivy@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ivy@FreeBSD.org             |desktop@FreeBSD.org

--- Comment #3 from Lexi Winter <ivy@FreeBSD.org> ---
this is actually a problem with the port (i thought it was due to the other
gssapi issue):

GSSAPI_BASE_VARS=pkgconfig_paths=${PATCHDIR}
and
post-install-GSSAPI_BASE-on:

should both be removed if base GSSAPI is MIT.

back to maintainer.  untested patch:

diff --git a/devel/libsoup3/Makefile b/devel/libsoup3/Makefile
index 03ce88b5e463..51cc1d971f6a 100644
--- a/devel/libsoup3/Makefile
+++ b/devel/libsoup3/Makefile
@@ -52,7 +52,9 @@ MESON_ARGS=   -Dtests=false \

 GSSAPI_BASE_USES=              gssapi
 GSSAPI_BASE_MESON_ON=          -Dgssapi=enabled
+.if !exists(/usr/libdata/pkgconfig/mit-krb5.pc)
 GSSAPI_BASE_VARS=              pkgconfig_paths=${PATCHDIR}
+.endif

 GSSAPI_HEIMDAL_USES=           gssapi:heimdal
 GSSAPI_HEIMDAL_MESON_ON=       -Dgssapi=enabled
@@ -67,8 +69,10 @@ VAPI_MESON_ENABLED=          vapi

 BINARY_ALIAS=  python3=${PYTHON_CMD}

+.if !exists(/usr/libdata/pkgconfig/krb5-gssapi.pc)
 post-install-GSSAPI_BASE-on:
        ${SED} -e 's|krb5-gssapi,||' \
                ${BUILD_WRKSRC}/meson-private/libsoup-3.0.pc >
${STAGEDIR}${PREFIX}/libdata/pkgconfig/libsoup-3.0.pc
+.endif

 .include <bsd.port.mk>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.