mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
graphics/mesa: Fix X11 options
We need to disable xlib-lease otherwise meson will fail to configure the port Differential Revision: https://reviews.freebsd.org/D45744 Reviewed by: bapt Sponsored by: Beckhoff Automation GmbH & Co. KG
This commit is contained in:
parent
aa6c9614c0
commit
a26876a1e5
@ -56,6 +56,8 @@ LDFLAGS_i386= -Wl,-znotext
|
||||
.if ${PORT_OPTIONS:MX11}
|
||||
MESA_PLATFORMS+= x11
|
||||
USE_XORG+= xcb xorgproto xrandr x11 xdamage xext xfixes xshmfence xv
|
||||
.else
|
||||
MESON_ARGS+= -Dxlib-lease=disabled
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MWAYLAND}
|
||||
|
@ -57,7 +57,7 @@ USE_XORG+= xorgproto x11 xcb xdamage xext \
|
||||
xfixes xshmfence xxf86vm xrandr
|
||||
PLIST_SUB+= GLX=""
|
||||
.else
|
||||
MESON_ARGS+= -Dglx=disabled
|
||||
MESON_ARGS+= -Dglx=disabled -Dxlib-lease=disabled
|
||||
PLIST_SUB+= GLX="@comment "
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user