git: 4e8b070e2129 - main - x11/lavalauncher: unbreak with LIBRSVG2_DEFAULT=legacy

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 14 Feb 2022 14:32:21 UTC
The branch main has been updated by jbeich:

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

commit 4e8b070e2129e81b2faaf30ca2fa782a20308d92
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-02-14 14:20:15 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-02-14 14:27:53 +0000

    x11/lavalauncher: unbreak with LIBRSVG2_DEFAULT=legacy
    
    meson.build:53:0: ERROR: Invalid version of dependency, need 'librsvg-2.0' ['>= 2.45.6'] found '2.40.21'.
    
    Reported by:    pkg-fallout (riscv64)
---
 x11/lavalauncher/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/x11/lavalauncher/Makefile b/x11/lavalauncher/Makefile
index 88a8de7d1aff..1452b4bd7d94 100644
--- a/x11/lavalauncher/Makefile
+++ b/x11/lavalauncher/Makefile
@@ -21,6 +21,7 @@ PLIST_FILES=	bin/${PORTNAME}
 
 OPTIONS_DEFINE=	EPOLL INOTIFY LIBRSVG2 MANPAGES
 OPTIONS_DEFAULT=EPOLL INOTIFY LIBRSVG2 MANPAGES
+OPTIONS_EXCLUDE=${LIBRSVG2_DEFAULT:Mlegacy:C/.+/LIBRSVG2/}
 
 EPOLL_DESC=		Handle signals via epoll-shim
 EPOLL_LIB_DEPENDS=	libepoll-shim.so:devel/libepoll-shim