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/drivers/xf86-video-tdfx set USE_INT...



details:   https://anonhg.NetBSD.org/src/rev/3131b12474d3
branches:  trunk
changeset: 772968:3131b12474d3
user:      macallan <macallan%NetBSD.org@localhost>
date:      Sun Jan 22 18:27:28 2012 +0000

description:
set USE_INT10 and USE_PCIVGAIO on i386 and amd64 only

diffstat:

 external/mit/xorg/server/drivers/xf86-video-tdfx/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 21aa02cf5ad7 -r 3131b12474d3 external/mit/xorg/server/drivers/xf86-video-tdfx/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-tdfx/Makefile Sun Jan 22 18:16:34 2012 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-tdfx/Makefile Sun Jan 22 18:27:28 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.8 2011/08/11 23:15:41 joerg Exp $
+#      $NetBSD: Makefile,v 1.9 2012/01/22 18:27:28 macallan Exp $
 
 DRIVER=                xf86-video-tdfx
 DRIVER_NAME=   tdfx_drv
@@ -8,6 +8,12 @@
 SRCS+=         tdfx_dri.c
 MAN=           tdfx.4
 
+.if ${MACHINE_ARCH} == "i386" || \
+    ${MACHINE_ARCH} == "x86_64"
+CPPFLAGS+=     -DUSE_INT10
+CPPFLAGS+=     -DUSE_PCIVGAIO
+.endif
+
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/X11/dri
 CPPFLAGS+=     -I${DESTDIR}${X11INCDIR}/libdrm



Home | Main Index | Thread Index | Old Index