git: 2a04a8532f6b - main - x11-toolkits/wlroots-devel: respect LOCALBASE for icon_directory

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 27 Jun 2022 21:40:22 UTC
The branch main has been updated by jbeich:

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

commit 2a04a8532f6ba24e15912ffa99fe8e067d03a9ae
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-06-27 21:34:00 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-06-27 21:40:19 +0000

    x11-toolkits/wlroots-devel: respect LOCALBASE for icon_directory
    
    /usr/local/wlroots-devel/share/icons is always empty.
---
 x11-toolkits/wlroots-devel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11-toolkits/wlroots-devel/Makefile b/x11-toolkits/wlroots-devel/Makefile
index 9ca152dbf067..72152e429c2b 100644
--- a/x11-toolkits/wlroots-devel/Makefile
+++ b/x11-toolkits/wlroots-devel/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	wlroots
 DISTVERSION=	0.15.0-291
 DISTVERSIONSUFFIX=	-g${GL_COMMIT:C/(.{12}).*/\1/}
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 PKGNAMESUFFIX=	-devel
 
@@ -35,6 +36,7 @@ MESON_ARGS=	-Dexamples=false -Dbackends=${BACKENDS:ts,} -Drenderers=${RENDERERS:
 .ifdef PKGNAMESUFFIX
 PORTSCOUT=	ignore:1
 PREFIX=		${LOCALBASE}/${PKGBASE} # avoid conflict with the default
+MESON_ARGS+=	-Ddatadir="${LOCALBASE}/share"
 .endif
 
 OPTIONS_DEFINE=	DRM OPENGL VULKAN X11