summaryrefslogtreecommitdiff
path: root/graphics/mesa
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2024-11-05 20:16:59 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2024-11-05 20:16:59 +0100
commitb7ed33e607c83f258c399e9d5f330600dad8ee69 (patch)
treea64cb64a14241b518fc85d0af1a2f5dddbd325cb /graphics/mesa
parent9e4bf600c03efa0c325569fe1a0a2d1e2ac5f3db (diff)
graphics/mesa: reorder Makefile
Diffstat (limited to 'graphics/mesa')
-rw-r--r--graphics/mesa/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/graphics/mesa/Makefile b/graphics/mesa/Makefile
index 0dd4e65..8452bda 100644
--- a/graphics/mesa/Makefile
+++ b/graphics/mesa/Makefile
@@ -1,7 +1,3 @@
-
-#ONLY_FOR_ARCHS = ???
-#NOT_FOR_ARCHS = ???
-
COMMENT = the Mesa 3D Graphics Library
DPB_PROPERTIES = parallel
@@ -23,8 +19,6 @@ MAINTAINER = xenocara@openbsd.org
# MIT
PERMIT_PACKAGE = Yes
-MODULES = devel/meson xenocara
-
WANTLIB = drm drm_radeon LLVM m pthread z expat \
xcb xcb-shm X11-xcb X11 \
xcb-dri3 xcb-xfixes xcb-present xcb-sync \
@@ -32,6 +26,8 @@ WANTLIB = drm drm_radeon LLVM m pthread z expat \
Xxf86vm c++ c++abi elf xcb-randr drm_amdgpu \
drm_intel udev wayland-client wayland-server
+MODULES = devel/meson xenocara
+
BUILD_DEPENDS = sysutils/libdrm \
devel/xorgproto \
graphics/pixman \
@@ -72,8 +68,6 @@ DRI_DRIVERS = r100,r200
GALLIUM_DRIVERS = swrast,r300,r600
.endif
-CONFIGURE_ENV = "MESA_GIT_SHA1_OVERRIDE=''"
-
CONFIGURE_ARGS = -Dgallium-drivers=${GALLIUM_DRIVERS} \
-Dvulkan-drivers=${VULKAN_DRIVERS} \
-Dgallium-xa=disabled \
@@ -98,6 +92,8 @@ CONFIGURE_ARGS = -Dgallium-drivers=${GALLIUM_DRIVERS} \
-Ddri-drivers-path=${X11BASE}/lib/modules/dri \
-Ddri-search-path=${X11BASE}/lib/modules/dri
-DEBUG_PACKAGES = ${BUILD_PACKAGES}
+CONFIGURE_ENV = "MESA_GIT_SHA1_OVERRIDE=''"
+
+DEBUG_PACKAGES = ${BUILD_PACKAGES}
.include <bsd.port.mk>