aboutsummaryrefslogtreecommitdiff
path: root/graphics/mesa-dri/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/mesa-dri/Makefile.common')
-rw-r--r--graphics/mesa-dri/Makefile.common4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/mesa-dri/Makefile.common b/graphics/mesa-dri/Makefile.common
index 20931bf44980..36ba47ccbe30 100644
--- a/graphics/mesa-dri/Makefile.common
+++ b/graphics/mesa-dri/Makefile.common
@@ -81,6 +81,10 @@ PKGHELP= ${.CURDIR}/pkg-help
PKGINSTALL= ${.CURDIR}/pkg-install
PKGDEINSTALL= ${.CURDIR}/pkg-deinstall
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200000
+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-src_util_build__id.c
+.endif
+
.include <bsd.port.pre.mk>
BINARY_ALIAS+= python3=${PYTHON_VERSION}