x11-toolkits/wlroots-devel: respect LOCALBASE for icon_directory

/usr/local/wlroots-devel/share/icons is always empty.
This commit is contained in:
Jan Beich 2022-06-27 21:34:00 +00:00
parent c2c04d73f4
commit 2a04a8532f

View file

@ -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