summaryrefslogtreecommitdiffstats
path: root/games
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
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')
-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 42b0fd2..8adfc33c 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 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