From 23bd3ea704d92fa80b7d4db152abda4a97fc6811 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 19 Sep 2002 07:55:42 +0000 Subject: Fix Matrox G550 cursor in the non-WITH_MATROX_GXX_DRIVER case. PR: 37542 Submitted by: Peter Johnson --- x11-servers/XFree86-4-Server-snap/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'x11-servers/XFree86-4-Server-snap/Makefile') diff --git a/x11-servers/XFree86-4-Server-snap/Makefile b/x11-servers/XFree86-4-Server-snap/Makefile index 7a81fe31d4f1..1111676b7784 100644 --- a/x11-servers/XFree86-4-Server-snap/Makefile +++ b/x11-servers/XFree86-4-Server-snap/Makefile @@ -167,7 +167,7 @@ pre-everything:: @${ECHO_MSG} "4.2.0! ENABLE AT YOUR OWN RISK!" @${ECHO_MSG} "********************************************************" -.if ${BuildXF86DRI} == YES +.if ${ARCH} == i386 .if !defined(WITH_MATROX_GXX_DRIVER) HaveMatroxHal= NO PLIST_SUB+= MATROX="@comment " @@ -180,7 +180,7 @@ pre-fetch:: @${ECHO_MSG} "This has been tested on a G400 AGP card." @${ECHO_MSG} "********************************************************" .else -NO_PACKAGE= "Matrox drivers may not be distributed." +NO_PACKAGE= "Matrox drivers may not be distributed" RESTRICTED= "Matrox drivers may not be distributed." HaveMatroxHal= YES MGA_DRIVER_VERSION= 2.0 @@ -202,6 +202,10 @@ HaveMatroxHal= NO PLIST_SUB+= MATROX="@comment " .endif +.if ${HaveMatroxHal} == NO +EXTRA_PATCHES+= ${.CURDIR}/files/patch-mga_driver.c +.endif + post-extract:: ${GUNZIP_CMD} -c ${DISTDIR}/${DIST_SUBDIR}/Wraphelp.gz > \ ${WRKSRC}/lib/Xdmcp/Wraphelp.c -- cgit v1.2.3