Changeset View
Changeset View
Standalone View
Standalone View
head/graphics/libosmesa/Makefile
# Created by: gahr | # Created by: gahr | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= libosmesa | PORTNAME= libosmesa | ||||
PORTVERSION= ${MESAVERSION} | PORTVERSION= ${MESAVERSION} | ||||
CATEGORIES= graphics | CATEGORIES= graphics | ||||
COMMENT= Off-Screen Mesa implementation of the OpenGL API | COMMENT= Off-Screen Mesa implementation of the OpenGL API | ||||
USE_XORG= glproto | USE_XORG= glproto | ||||
# As of version 17.0.5 / 17.1.2, the Gallium variant fails to build due to | |||||
# incorrectly ordered linker flags. Fortunately, autoreconf fixes the problem. | |||||
# Unfortunately, we must reconf before we know if we're doing a Gallium build. | |||||
USES= autoreconf | |||||
EXTRA_PATCHES= ${PATCHDIR}/configure.ac | |||||
.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+= --disable-dri --disable-egl --disable-gbm \ | CONFIGURE_ARGS+= --disable-dri --disable-egl --disable-gbm \ | ||||
--disable-gles2 --with-gallium-drivers=swrast | --disable-gles2 --with-gallium-drivers=swrast | ||||
MESA_BUILD_WRKSRC= src/util src/compiler src/mapi src/mesa | MESA_BUILD_WRKSRC= src/util src/compiler src/mapi src/mesa | ||||
.if "${MESA_LLVM_VER}" != "" | .if "${MESA_LLVM_VER}" != "" | ||||
Show All 16 Lines |