git: b661f7ddf0b7 - main - x11-wm/jwm: Make SVG option depend on CAIRO option

From: Yusuf Yaman <nxjoseph_at_FreeBSD.org>
Date: Mon, 14 Sep 2026 18:45:23 UTC
The branch main has been updated by nxjoseph:

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

commit b661f7ddf0b72d463265424ca08a09fdf61ee842
Author:     Yusuf Yaman <nxjoseph@FreeBSD.org>
AuthorDate: 2026-09-14 18:40:23 +0000
Commit:     Yusuf Yaman <nxjoseph@FreeBSD.org>
CommitDate: 2026-09-14 18:44:14 +0000

    x11-wm/jwm: Make SVG option depend on CAIRO option
    
    It seems that only enabling SVG option isn't enough for SVG-based
    icon themes to work, so add SVG_IMPLIES=CAIRO.
    
    Reported by:    fernandel (on forums.freebsd.org)
    URL:            https://forums.freebsd.org/threads/jwm-pkg.103838/
    Fixes:          4e3c1e294511 ("x11-wm/jwm: Enable SVG option by default")
    Approved by:    osa, vvd (Mentors, implicit)
---
 x11-wm/jwm/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-wm/jwm/Makefile b/x11-wm/jwm/Makefile
index 51b0cd86935b..90e4cea1b6fe 100644
--- a/x11-wm/jwm/Makefile
+++ b/x11-wm/jwm/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	jwm
 PORTVERSION=	2.4.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-wm
 MASTER_SITES=	https://github.com/joewing/jwm/releases/download/v${PORTVERSION}/
 
@@ -46,6 +46,7 @@ PNG_LIB_DEPENDS=	libpng.so:graphics/png
 PNG_CONFIGURE_ENABLE=	png
 SVG_USE=		GNOME=librsvg2
 SVG_CONFIGURE_ENABLE=	rsvg
+SVG_IMPLIES=		CAIRO
 XEXT_USE=		XORG=xext
 XEXT_CONFIGURE_ENABLE=	shape
 XFT_IMPLIES=		XRENDER