Changeset View
Changeset View
Standalone View
Standalone View
graphics/mesa-libs/Makefile
| # Created by: Eric Anholt <anholt@FreeBSD.org> | # Created by: Eric Anholt <anholt@FreeBSD.org> | ||||
| # $FreeBSD$ | # $FreeBSD$ | ||||
| PORTNAME= mesa-libs | PORTNAME= mesa-libs | ||||
| PORTVERSION= ${MESAVERSION} | PORTVERSION= ${MESAVERSION} | ||||
| PORTREVISION= 1 | |||||
| CATEGORIES= graphics | CATEGORIES= graphics | ||||
| COMMENT= OpenGL libraries that support GLX and EGL clients | COMMENT= OpenGL libraries that support GLX and EGL clients | ||||
| USE_XORG= xorgproto x11 xcb xdamage xext \ | USE_XORG= xorgproto x11 xcb xdamage xext \ | ||||
| xfixes xshmfence xxf86vm | xfixes xshmfence xxf86vm | ||||
| OPTIONS_DEFINE= WAYLAND | OPTIONS_DEFINE= WAYLAND | ||||
| OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
| WAYLAND_DESC= Enable support for the Wayland platform in EGL | WAYLAND_DESC= Enable support for the Wayland platform in EGL | ||||
| WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.8:graphics/wayland-protocols | WAYLAND_BUILD_DEPENDS= wayland-protocols>=1.8:graphics/wayland-protocols \ | ||||
jbeich: I'm not familar with Wayland to land [bug 227423](https://bugs.freebsd.org/bugzilla/show_bug. | |||||
| wayland>=1.15:graphics/wayland | |||||
| WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ | WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \ | ||||
| libwayland-server.so:graphics/wayland | libwayland-server.so:graphics/wayland | ||||
| .include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
| .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" | .include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" | ||||
| CONFIGURE_ARGS+= --with-dri-drivers="" --with-gallium-drivers="" | CONFIGURE_ARGS+= --with-dri-drivers="" --with-gallium-drivers="" | ||||
| Show All 12 Lines | |||||
| IGNORE= option WAYLAND is only valid on platforms with LLVM | IGNORE= option WAYLAND is only valid on platforms with LLVM | ||||
| .endif | .endif | ||||
| .endif | .endif | ||||
| MESA_BUILD_WRKSRC= src/mapi src/util | MESA_BUILD_WRKSRC= src/mapi src/util | ||||
| MESA_INSTALL_WRKSRC= src/mapi | MESA_INSTALL_WRKSRC= src/mapi | ||||
| .if ${PORT_OPTIONS:MWAYLAND} | .if ${PORT_OPTIONS:MWAYLAND} | ||||
| MESA_BUILD_WRKSRC+= src/egl/wayland/wayland-drm src/egl/wayland/wayland-egl | MESA_BUILD_WRKSRC+= src/egl/wayland/wayland-drm | ||||
| MESA_INSTALL_WRKSRC+= src/egl/wayland/wayland-egl | |||||
| .endif | .endif | ||||
| MESA_BUILD_WRKSRC+= src/gbm src/glx | MESA_BUILD_WRKSRC+= src/gbm src/glx | ||||
| MESA_INSTALL_WRKSRC+= src/gbm src/glx | MESA_INSTALL_WRKSRC+= src/gbm src/glx | ||||
| .if "${MESA_LLVM_VER}" != "" | .if "${MESA_LLVM_VER}" != "" | ||||
| MESA_BUILD_WRKSRC+= src/egl | MESA_BUILD_WRKSRC+= src/egl | ||||
| MESA_INSTALL_WRKSRC+= src/egl | MESA_INSTALL_WRKSRC+= src/egl | ||||
| Show All 14 Lines | |||||
I'm not familar with Wayland to land bug 227423. A possible workaround is to revert the following commits then run autogen.sh before and after to capture configure and Makefile.in changes.
https://cgit.freedesktop.org/mesa/mesa/commit/?id=1db4ec054629
https://cgit.freedesktop.org/mesa/mesa/commit/?id=37eb56d23998
https://cgit.freedesktop.org/mesa/mesa/commit/?id=b9361c9df051