# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
maintainers {jeremyhu @jeremyhu} openmaintainer
license_noconflict py27-libxml2
description Mesa 3D Graphics Library
long_description Mesa is an open-source implementation of the OpenGL specification, a system for rendering interactive 3D graphics.
homepage https://www.mesa3d.org
master_sites https://mesa.freedesktop.org/archive
checksums sha1 2acc201e24ea67c5231074d6746a42a747228ed6 \
rmd160 43a9b758462316ad344ccdccf72d6d0ce295620e \
sha256 0686deadde1f126b20aa67e47e8c50502043eee4ecdf60d5009ffda3cebfee50
depends_build port:pkgconfig \
depends_lib port:xorg-xorgproto \
0001-glxcmds-Fix-a-typo-in-the-__APPLE__-codepath.patch \
0002-glext.h-Add-missing-include-of-stddef.h-for-ptrdiff_.patch \
0003-applegl-Provide-requirements-of-_SET_DrawBuffers.patch \
0004-mesa-Deal-with-size-differences-between-GLuint-and-G.patch
if {[string match *gcc* ${configure.compiler}]} {
# Older gcc fail to do -Werror=missing-prototypes correctly
# https://trac.macports.org/ticket/46827
patchfiles-append no-missing-prototypes-error.patch
--disable-llvm-shared-libs \