Build the gallium software rasteriser (softpipe). This avoids a problem

mpi found where the r300 driver would not load on macppc due to an
undefined drisw_create_screen symbol.

The code related to that symbol was removed sometime after Mesa 11.0
branched.

Initial diff from and ok mpi@
This commit is contained in:
jsg 2015-12-20 12:31:01 +00:00
parent 1ff7fe0da7
commit bf795ce77a

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.bsd-wrapper,v 1.3 2015/12/20 12:15:55 jsg Exp $
# $OpenBSD: Makefile.bsd-wrapper,v 1.4 2015/12/20 12:31:01 jsg Exp $
.include <bsd.own.mk>
@ -6,16 +6,16 @@ SHARED_LIBS= EGL 1.0 gbm 0.0 glapi 0.1 GL 16.0 GLESv1_CM 1.0 GLESv2 1.0 \
OSMesa 9.0
DRI_DRIVERS= swrast
GALLIUM_DRIVERS=
GALLIUM_DRIVERS= swrast
.if ${MACHINE} == i386 || ${MACHINE} == amd64
DRI_DRIVERS=swrast,radeon,r200,i915,i965
GALLIUM_DRIVERS=r300,r600
GALLIUM_DRIVERS=swrast,r300,r600
.endif
.if ${MACHINE} == macppc || ${MACHINE} == sparc64
DRI_DRIVERS=swrast,radeon,r200
GALLIUM_DRIVERS=r300,r600
GALLIUM_DRIVERS=swrast,r300,r600
.endif
CONFIGURE_ARGS= --with-dri-drivers=${DRI_DRIVERS} \