summaryrefslogtreecommitdiffstats
path: root/games/quake2lnx/Makefile
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2004-05-29 22:42:58 +0000
committeranholt <anholt@FreeBSD.org>2004-05-29 22:42:58 +0000
commitc0637b4011c8faa0ddc455b75cf3af877db02568 (patch)
treebce9c4030373213c892149fd0db5d1e813266120 /games/quake2lnx/Makefile
parenteafceb8d4a97a7feec38908b3b21e97d952f45be (diff)
downloadFreeBSD-ports-c0637b4011c8faa0ddc455b75cf3af877db02568.zip
FreeBSD-ports-c0637b4011c8faa0ddc455b75cf3af877db02568.tar.gz
Replace explicit XFree86-4-libraries dependencies with USE_XLIB, USE_XPM, and
USE_GL as appropriate.
Diffstat (limited to 'games/quake2lnx/Makefile')
-rw-r--r--games/quake2lnx/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/games/quake2lnx/Makefile b/games/quake2lnx/Makefile
index 1965f9e..773438d 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=""
OpenPOWER on IntegriCloud