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-quake3-demo | |
parent | f81547f0da2a1c40d2006131918a16089a300ebb (diff) | |
download | ports-c8d65271dcc132c332e4b453aecd182b2cdf8245.tar.gz ports-c8d65271dcc132c332e4b453aecd182b2cdf8245.zip |
Notes
Diffstat (limited to 'games/linux-quake3-demo')
-rw-r--r-- | games/linux-quake3-demo/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/games/linux-quake3-demo/Makefile b/games/linux-quake3-demo/Makefile index bfc38e82d8ed..bc2411aaf6a1 100644 --- a/games/linux-quake3-demo/Makefile +++ b/games/linux-quake3-demo/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:\ |