pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/MesaLib Fix build on DragonFlyBSD.
details: https://anonhg.NetBSD.org/pkgsrc/rev/bec2f78edd83
branches: trunk
changeset: 651788:bec2f78edd83
user: nros <nros%pkgsrc.org@localhost>
date: Tue May 12 17:10:30 2015 +0000
description:
Fix build on DragonFlyBSD.
-D_KERNEL_STRUCTURES are needed for ERESTART on DragonFlyBSD.
diffstat:
graphics/MesaLib/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 31efcc7fbda3 -r bec2f78edd83 graphics/MesaLib/Makefile
--- a/graphics/MesaLib/Makefile Tue May 12 15:46:52 2015 +0000
+++ b/graphics/MesaLib/Makefile Tue May 12 17:10:30 2015 +0000
@@ -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+= -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"
Home |
Main Index |
Thread Index |
Old Index