summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-05-29 22:42:58 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-05-29 22:42:58 +0000
commita93033552b24d80bcefe085979d99d4d7f8004e4 (patch)
treebb35475a21275e84adff53ace3cf4dce2a36a976 /games
parentupdate to 0.9.11 (diff)
Replace explicit XFree86-4-libraries dependencies with USE_XLIB, USE_XPM, and
USE_GL as appropriate.
Diffstat (limited to 'games')
-rw-r--r--games/fuhquake/Makefile7
-rw-r--r--games/quake2lnx/Makefile5
2 files changed, 5 insertions, 7 deletions
diff --git a/games/fuhquake/Makefile b/games/fuhquake/Makefile
index 42b0fd2ca75b..8adfc33c6110 100644
--- a/games/fuhquake/Makefile
+++ b/games/fuhquake/Makefile
@@ -49,8 +49,7 @@ PLIST_SUB+= SVGA="@comment "
.endif
.if !defined(WITHOUT_X11)
-LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/XFree86-4-libraries \
- Xext.6:${PORTSDIR}/x11/XFree86-4-libraries
+USE_XLIB= yes
END_TARGETS+= ${PORTNAME}-x11
PLIST_SUB+= X11=""
.else
@@ -58,8 +57,8 @@ PLIST_SUB+= X11="@comment "
.endif
.if !defined(WITHOUT_GLX)
-LIB_DEPENDS+= GL.1:${PORTSDIR}/x11/XFree86-4-libraries \
- png.5:${PORTSDIR}/graphics/png \
+USE_GL= yes
+LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
END_TARGETS+= ${PORTNAME}-glx
PLIST_SUB+= GLX=""
diff --git a/games/quake2lnx/Makefile b/games/quake2lnx/Makefile
index 1965f9e7aef5..773438d830dd 100644
--- a/games/quake2lnx/Makefile
+++ b/games/quake2lnx/Makefile
@@ -80,8 +80,7 @@ PLIST_SUB+= SDLGL="@comment "
.endif
.if !defined(WITHOUT_X11)
-LIB_DEPENDS+= X11.6:${PORTSDIR}/x11/XFree86-4-libraries \
- Xext.6:${PORTSDIR}/x11/XFree86-4-libraries
+USE_XLIB= yes
MAKE_ARGS+= BUILD_X11=YES
REF_TARGETS+= softx
PLIST_SUB+= X11=""
@@ -90,7 +89,7 @@ PLIST_SUB+= X11="@comment "
.endif
.if !defined(WITHOUT_GLX) || defined(WITH_EYECANDY)
-LIB_DEPENDS+= GL.1:${PORTSDIR}/x11/XFree86-4-libraries
+USE_GL= yes
MAKE_ARGS+= BUILD_GLX=YES
REF_TARGETS+= glx
PLIST_SUB+= GLX=""