diff options
-rw-r--r-- | graphics/mesa-dri/Makefile | 2 | ||||
-rw-r--r-- | graphics/mesa-libs/Makefile | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile index b656f81d0a7d..b0f9f3699612 100644 --- a/graphics/mesa-dri/Makefile +++ b/graphics/mesa-dri/Makefile @@ -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} diff --git a/graphics/mesa-libs/Makefile b/graphics/mesa-libs/Makefile index c1e04551a089..e2d8f3f8e860 100644 --- a/graphics/mesa-libs/Makefile +++ b/graphics/mesa-libs/Makefile @@ -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 |