git: 7bd33afb2abb - main - sysutils/polkit: repair build with option SPIDERMONKEY

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Wed, 05 Mar 2025 23:52:58 UTC
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7bd33afb2abb82136aae713669468550b87ebe29

commit 7bd33afb2abb82136aae713669468550b87ebe29
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2025-03-05 23:50:35 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2025-03-05 23:52:57 +0000

    sysutils/polkit: repair build with option SPIDERMONKEY
    
    As described in the PR, the dependency listed in the ports
    Makefile was spidermonkey 102, but the software itself was
    looking for spidermonkey 115. Since 115 is now in ports,
    we can chase it. No PORTREVISION because this is just a build
    fix (for non-default arguments, at that).
    
    PR 280291
---
 sysutils/polkit/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysutils/polkit/Makefile b/sysutils/polkit/Makefile
index 2a5b51483b3e..e9ac6bf836f7 100644
--- a/sysutils/polkit/Makefile
+++ b/sysutils/polkit/Makefile
@@ -47,7 +47,7 @@ SPIDERMONKEY_DESC=	SpiderMonkey JavaScript backend
 DUKTAPE_LIB_DEPENDS=	libduktape.so:lang/duktape-lib
 DUKTAPE_MESON_ON=	-Djs_engine='duktape'
 
-SPIDERMONKEY_LIB_DEPENDS=	libmozjs-102.so:lang/spidermonkey102
+SPIDERMONKEY_LIB_DEPENDS=	libmozjs-115.so:lang/spidermonkey115
 SPIDERMONKEY_MESON_ON=		-Djs_engine='mozjs'
 
 MANPAGES_BUILD_DEPENDS=	docbook-sgml>0:textproc/docbook-sgml \