aboutsummaryrefslogtreecommitdiffstats
path: root/games/fuhquake/Makefile
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2004-05-30 06:42:58 +0800
committeranholt <anholt@FreeBSD.org>2004-05-30 06:42:58 +0800
commitc0637b4011c8faa0ddc455b75cf3af877db02568 (patch)
treebce9c4030373213c892149fd0db5d1e813266120 /games/fuhquake/Makefile
parenteafceb8d4a97a7feec38908b3b21e97d952f45be (diff)
downloadfreebsd-ports-gnome-c0637b4011c8faa0ddc455b75cf3af877db02568.tar.gz
freebsd-ports-gnome-c0637b4011c8faa0ddc455b75cf3af877db02568.tar.zst
freebsd-ports-gnome-c0637b4011c8faa0ddc455b75cf3af877db02568.zip
Replace explicit XFree86-4-libraries dependencies with USE_XLIB, USE_XPM, and
USE_GL as appropriate.
Diffstat (limited to 'games/fuhquake/Makefile')
-rw-r--r--games/fuhquake/Makefile7
1 files changed, 3 insertions, 4 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=""