aboutsummaryrefslogtreecommitdiff
path: root/games/linux-quake3-demo/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-12-17 08:58:05 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-12-17 08:58:05 +0000
commit94e59db5dd8118d2c568bcf2ea8755d3b86e295a (patch)
tree6528922d3af2febfa3e00ce3dd0d733ec4f0fe1e /games/linux-quake3-demo/Makefile
parent29813f4125277c2a5ea3c4517d46f898b7b2b594 (diff)
downloadports-94e59db5dd8118d2c568bcf2ea8755d3b86e295a.tar.gz
ports-94e59db5dd8118d2c568bcf2ea8755d3b86e295a.zip
Notes
Diffstat (limited to 'games/linux-quake3-demo/Makefile')
-rw-r--r--games/linux-quake3-demo/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/games/linux-quake3-demo/Makefile b/games/linux-quake3-demo/Makefile
index fe6974906428..b82ada239563 100644
--- a/games/linux-quake3-demo/Makefile
+++ b/games/linux-quake3-demo/Makefile
@@ -21,19 +21,19 @@ EXTRACT_SUFX=
MAINTAINER= ports@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
+RUN_DEPENDS= ${LINUXBASE}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
+
+USE_X_PREFIX= yes
+USE_GL= yes
.include <bsd.port.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-3
-RUN_DEPENDS += /compat/linux/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
+RUN_DEPENDS += ${LINUXBASE}/usr/X11R6/lib/libGL.so.1:${PORTSDIR}/graphics/linux_dri
.else
-RUN_DEPENDS += /compat/linux/lib/libGL.so:${PORTSDIR}/graphics/linux_glx
+RUN_DEPENDS += ${LINUXBASE}/lib/libGL.so:${PORTSDIR}/graphics/linux_glx
.endif
-USE_X_PREFIX= yes
-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=
@@ -319,6 +319,7 @@ do-install:
.endif
post-install:
+ ${LN} -fs ${LINUXBASE}/usr/X11R6/lib/libGL.so.1 ${PREFIX}/share/q3ademo/libGL.so
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>