summaryrefslogtreecommitdiff
path: root/x11/XFree86-4
diff options
context:
space:
mode:
Diffstat (limited to 'x11/XFree86-4')
-rw-r--r--x11/XFree86-4/Makefile2
-rw-r--r--x11/XFree86-4/scripts/configure6
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