Lines 24-29
Link Here
|
24 |
.include <bsd.port.options.mk> |
24 |
.include <bsd.port.options.mk> |
25 |
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" |
25 |
.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" |
26 |
|
26 |
|
|
|
27 |
# Default mesa platforms |
28 |
MESA_PLATFORMS= x11 surfaceless drm |
29 |
.if ${PORT_OPTIONS:MWAYLAND} |
30 |
MESA_PLATFORMS+= wayland |
31 |
.endif |
32 |
|
27 |
MESON_ARGS+= -Dgallium-drivers="" \ |
33 |
MESON_ARGS+= -Dgallium-drivers="" \ |
28 |
-Dgallium-vdpau=false \ |
34 |
-Dgallium-vdpau=false \ |
29 |
-Dgallium-xvmc=false \ |
35 |
-Dgallium-xvmc=false \ |
Lines 36-49
Link Here
|
36 |
-Dtools="" \ |
42 |
-Dtools="" \ |
37 |
-Degl=true \ |
43 |
-Degl=true \ |
38 |
-Dgbm=true \ |
44 |
-Dgbm=true \ |
39 |
-Dvulkan-drivers="" |
45 |
-Dvulkan-drivers="" \ |
|
|
46 |
-Dplatforms="${MESA_PLATFORMS:ts,}" |
40 |
# Building EGL and GBM requires a dri driver so add swrast |
47 |
# Building EGL and GBM requires a dri driver so add swrast |
41 |
MESON_ARGS+= -Ddri-drivers="swrast" |
48 |
MESON_ARGS+= -Ddri-drivers="swrast" |
42 |
|
49 |
|
43 |
.if ${PORT_OPTIONS:MWAYLAND} |
|
|
44 |
MESON_ARGS+= -Dplatforms=x11,surfaceless,drm,wayland |
45 |
.endif |
46 |
|
47 |
.if ${ARCH} == "i386" |
50 |
.if ${ARCH} == "i386" |
48 |
# PR230239 Fix the build for i386 when WITH_LLD_IS_LD is set |
51 |
# PR230239 Fix the build for i386 when WITH_LLD_IS_LD is set |
49 |
LDFLAGS+=-Wl,-z,notext |
52 |
LDFLAGS+=-Wl,-z,notext |