diff options
author | nros <nros@pkgsrc.org> | 2015-05-12 17:10:30 +0000 |
---|---|---|
committer | nros <nros@pkgsrc.org> | 2015-05-12 17:10:30 +0000 |
commit | 93b2611bffd0a0d5f9091e01ffe3c521a7b27d5a (patch) | |
tree | 639b17abbe78bcb2b0830f3a959fe69b85321e5d /graphics | |
parent | 060ffffbd06b37641a89eb356a56d7ba298e5709 (diff) | |
download | pkgsrc-93b2611bffd0a0d5f9091e01ffe3c521a7b27d5a.tar.gz |
Fix build on DragonFlyBSD.
-D_KERNEL_STRUCTURES are needed for ERESTART on DragonFlyBSD.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/MesaLib/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/MesaLib/Makefile b/graphics/MesaLib/Makefile index b53bde02c89..1f9049c9569 100644 --- a/graphics/MesaLib/Makefile +++ b/graphics/MesaLib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.101 2015/05/11 21:43:19 tnn Exp $ +# $NetBSD: Makefile,v 1.102 2015/05/12 17:10:30 nros Exp $ DISTNAME= mesa-10.5.5 PKGNAME= ${DISTNAME:S/mesa/MesaLib/} @@ -77,6 +77,9 @@ CPPFLAGS+= -Dexp2\(x\)=exp\(\(x\)\*M_LN2\) CPPFLAGS+= -Dexp2f\(x\)=expf\(\(x\)\*M_LN2\) .endif +#Needed to get ERESTART from errno.h on DragonFlyBSD +CPPFLAGS.DragonFly+=-D_KERNEL_STRUCTURES + .include "../../x11/libX11/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libxcb/buildlink3.mk" |