diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2003-04-25 01:30:21 +0000 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2003-04-25 01:30:21 +0000 |
commit | c8d65271dcc132c332e4b453aecd182b2cdf8245 (patch) | |
tree | c4654a7d449900e1e4b66c712a0e316772613c07 /games/linux-q3ademo | |
parent | Mark IGNORE if XFREE86_VERSION > 3 (diff) |
linux_glx is only for XFree86 3.3.x, so use linux_dri if XFREE86_VERSION=4.
Notes
Notes:
svn path=/head/; revision=79614
Diffstat (limited to 'games/linux-q3ademo')
-rw-r--r-- | games/linux-q3ademo/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/games/linux-q3ademo/Makefile b/games/linux-q3ademo/Makefile index bfc38e82d8ed..bc2411aaf6a1 100644 --- a/games/linux-q3ademo/Makefile +++ b/games/linux-q3ademo/Makefile @@ -21,8 +21,15 @@ EXTRACT_SUFX= MAINTAINER= 3d@freebsd.org COMMENT= Linux 3d shooter from id Software / Loki Software (demo version) -RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \ - /compat/linux/lib/libGL.so:${PORTSDIR}/graphics/linux_glx +RUN_DEPENDS= /compat/linux/lib/libc.so.6:${PORTSDIR}/emulators/linux_base + +.include <bsd.port.pre.mk> + +.if ${XFREE86_VERSION} == 4 +RUN_DEPENDS += /compat/linux/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri +.else +RUN_DEPENDS += /compat/linux/lib/libGL.so:${PORTSDIR}/graphics/linux_glx +.endif USE_X_PREFIX= yes USE_MESA= yes @@ -30,8 +37,6 @@ USE_MESA= yes # Linux binary should not be stripped by INSTALL_PROGRAM as it uses /usr/bin/strip which then brands the binary as a FreeBSD ELF one. STRIP= -.include <bsd.port.pre.mk> - .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) IGNORE= may not be automatically fetched due to licensing\ restrictions. You MUST manually fetch the Linux version from:\ |