Lines 24-43
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \
Link Here
|
24 |
|
24 |
|
25 |
CONFIGURE_ARGS+= --with-dri-drivers="" --with-gallium-drivers="" |
25 |
CONFIGURE_ARGS+= --with-dri-drivers="" --with-gallium-drivers="" |
26 |
|
26 |
|
27 |
# libEGL needs gallium enabled which depends on llvm |
|
|
28 |
.if "${MESA_LLVM_VER}" != "" |
29 |
.if ${PORT_OPTIONS:MWAYLAND} |
27 |
.if ${PORT_OPTIONS:MWAYLAND} |
30 |
CONFIGURE_ARGS+= --with-platforms=x11,surfaceless,drm,wayland |
28 |
CONFIGURE_ARGS+= --with-platforms=x11,surfaceless,drm,wayland |
31 |
.else |
|
|
32 |
CONFIGURE_ARGS+= --with-platforms=x11,surfaceless,drm |
33 |
.endif |
34 |
PLIST_SUB+= EGL="" |
35 |
.else |
36 |
CONFIGURE_ARGS+= --disable-egl |
37 |
PLIST_SUB+= EGL="@comment " |
38 |
.if ${PORT_OPTIONS:MWAYLAND} |
39 |
IGNORE= option WAYLAND is only valid on platforms with LLVM |
40 |
.endif |
41 |
.endif |
29 |
.endif |
42 |
|
30 |
|
43 |
MESA_BUILD_WRKSRC= src/mapi src/util |
31 |
MESA_BUILD_WRKSRC= src/mapi src/util |
Lines 51-60
MESA_INSTALL_WRKSRC+= src/egl/wayland/wayland-egl
Link Here
|
51 |
MESA_BUILD_WRKSRC+= src/gbm src/glx |
39 |
MESA_BUILD_WRKSRC+= src/gbm src/glx |
52 |
MESA_INSTALL_WRKSRC+= src/gbm src/glx |
40 |
MESA_INSTALL_WRKSRC+= src/gbm src/glx |
53 |
|
41 |
|
54 |
.if "${MESA_LLVM_VER}" != "" |
|
|
55 |
MESA_BUILD_WRKSRC+= src/egl |
42 |
MESA_BUILD_WRKSRC+= src/egl |
56 |
MESA_INSTALL_WRKSRC+= src/egl |
43 |
MESA_INSTALL_WRKSRC+= src/egl |
57 |
.endif |
|
|
58 |
|
44 |
|
59 |
.if ${ARCH} == "i386" |
45 |
.if ${ARCH} == "i386" |
60 |
# PR230239 Fix the build for i386 when WITH_LLD_IS_LD is set |
46 |
# PR230239 Fix the build for i386 when WITH_LLD_IS_LD is set |