From 0874decb8cc7574b4c116dfde0caafcd5f4f63de Mon Sep 17 00:00:00 2001 From: Jean-Marc Zucconi Date: Wed, 11 Apr 2001 01:03:55 +0000 Subject: [PATCH] Do not build and the DRI kernel modules in -current. Sources of drm modules have to be modified for SMPng systems. --- x11/XFree86-4/Makefile | 2 +- x11/XFree86-4/scripts/configure | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/x11/XFree86-4/Makefile b/x11/XFree86-4/Makefile index f5f985072041..7151de235ce5 100644 --- a/x11/XFree86-4/Makefile +++ b/x11/XFree86-4/Makefile @@ -7,7 +7,7 @@ PORTNAME= XFree86 PORTVERSION= 4.0.3 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= ${MASTER_SITE_XFREE} MASTER_SITE_SUBDIR= 4.0.2 diff --git a/x11/XFree86-4/scripts/configure b/x11/XFree86-4/scripts/configure index a55ed41f1461..a4bb01ebd10c 100644 --- a/x11/XFree86-4/scripts/configure +++ b/x11/XFree86-4/scripts/configure @@ -220,8 +220,10 @@ yesno YES "Do you want to compile with PAM support?" echo "#define HasPam $answ" >> $F echo "#define InstallXserverSetUID NO " >> $F -echo "#define BuildXF86DRI YES" >> $F -echo "#define BuildXF86DRM YES" >> $F +if [ $OSVERSION -lt 500013 ]; then + echo "#define BuildXF86DRI YES" >> $F + echo "#define BuildXF86DRM YES" >> $F +fi } configure