summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/libosmesa/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/graphics/libosmesa/Makefile b/graphics/libosmesa/Makefile
index f82d79c63985..cd51967d56cd 100644
--- a/graphics/libosmesa/Makefile
+++ b/graphics/libosmesa/Makefile
@@ -35,6 +35,12 @@ MAKE_JOBS_UNSAFE=yes
INCLUDES= gl.h gl_mangle.h glext.h glx.h glx_mangle.h \
glxext.h osmesa.h wglext.h wmesa.h
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000 && ${ARCH} == i386
+BROKEN= Doesn't build
+.endif
+
post-patch:
${REINPLACE_CMD} \
-e '/^OSMESA_VERSION=/s|8|9|' \
@@ -51,4 +57,4 @@ do-install:
${LN} -s libOSMesa.so.9.0.0 ${STAGEDIR}${PREFIX}/lib/libOSMesa.so
${INSTALL_DATA} ${WRKSRC}/src/mesa/drivers/osmesa/osmesa.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/osmesa.pc
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>