aboutsummaryrefslogtreecommitdiff
path: root/games/quake2forge
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2forge')
-rw-r--r--games/quake2forge/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/quake2forge/Makefile b/games/quake2forge/Makefile
index 0f40e6862b5b..14db55b89f82 100644
--- a/games/quake2forge/Makefile
+++ b/games/quake2forge/Makefile
@@ -36,6 +36,10 @@ LIBDIR= ${PREFIX}/lib/${PORTNAME}
.include <bsd.port.pre.mk>
+.if defined(WITH_GL) || defined(WITH_X11)
+USE_XORG= xxf86dga
+.endif
+
.if defined(WITH_AO)
LIB_DEPENDS+= ao.3:${PORTSDIR}/audio/libao
CONFIGURE_ARGS+=--with-ao=${LOCALBASE}
@@ -93,7 +97,6 @@ PLIST_SUB+= SVGA="@comment "
.endif
.if defined(WITH_X11)
-USE_XLIB= yes
CONFIGURE_ARGS+=--with-x
PLIST_SUB+= X11=""
.else