diff options
Diffstat (limited to 'x11-servers/XFree86-4-Server/Makefile')
-rw-r--r-- | x11-servers/XFree86-4-Server/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile index 7a81fe31d4f1..1111676b7784 100644 --- a/x11-servers/XFree86-4-Server/Makefile +++ b/x11-servers/XFree86-4-Server/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 |