diff options
author | anholt <anholt@FreeBSD.org> | 2003-04-25 09:30:21 +0800 |
---|---|---|
committer | anholt <anholt@FreeBSD.org> | 2003-04-25 09:30:21 +0800 |
commit | 45b4b8d40243d77704a919c44276f8f5765b5023 (patch) | |
tree | 1bdb5afcc400b2492a4ae7f5179572308ed6a9ab /games/linux-q3ademo | |
parent | 31b7c0af910728bf4ea679fd849921eb388801c1 (diff) | |
download | freebsd-ports-gnome-45b4b8d40243d77704a919c44276f8f5765b5023.tar.gz freebsd-ports-gnome-45b4b8d40243d77704a919c44276f8f5765b5023.tar.zst freebsd-ports-gnome-45b4b8d40243d77704a919c44276f8f5765b5023.zip |
linux_glx is only for XFree86 3.3.x, so use linux_dri if XFREE86_VERSION=4.
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:\ |