aboutsummaryrefslogtreecommitdiff
path: root/games/linux-quake3-demo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/linux-quake3-demo/Makefile')
-rw-r--r--games/linux-quake3-demo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/linux-quake3-demo/Makefile b/games/linux-quake3-demo/Makefile
index 8814a1ff8d0e..fe6974906428 100644
--- a/games/linux-quake3-demo/Makefile
+++ b/games/linux-quake3-demo/Makefile
@@ -25,7 +25,7 @@ RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
.include <bsd.port.pre.mk>
-.if ${XFREE86_VERSION} == 4
+.if ${X_WINDOW_SYSTEM:L} != xfree86-3
RUN_DEPENDS += /compat/linux/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
.else
RUN_DEPENDS += /compat/linux/lib/libGL.so:${PORTSDIR}/graphics/linux_glx