Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg Link Xo...
details: https://anonhg.NetBSD.org/src/rev/846eb7b924a2
branches: trunk
changeset: 328418:846eb7b924a2
user: riastradh <riastradh%NetBSD.org@localhost>
date: Thu Apr 03 02:40:45 2014 +0000
description:
Link Xorg with -lpthread on x86.
This will be needed by the new xf86-video-intel, which uses pthreads
in SNA (SandyBridge New Acceleration). It shouldn't hurt, but is not
needed, on any other architecture.
diffstat:
external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r ded3bd2c0aa9 -r 846eb7b924a2 external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile
--- a/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile Thu Apr 03 01:36:20 2014 +0000
+++ b/external/mit/xorg/server/xorg-server/hw/xfree86/Xorg/Makefile Thu Apr 03 02:40:45 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/10/03 21:50:14 gsutre Exp $
+# $NetBSD: Makefile,v 1.6 2014/04/03 02:40:45 riastradh Exp $
.include <bsd.own.mk>
@@ -77,6 +77,12 @@
DPADD+= ${LIBALPHA}
.endif
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+# Needed by current xf86-video-intel for SNA.
+LDADD+= -lpthread
+DPADD+= ${LIBPTHREAD}
+.endif
+
LDADD+= -lm
DPADD+= ${DPADD.dix} \
Home |
Main Index |
Thread Index |
Old Index