1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

USE_GLX --> WITH_GLX

This commit is contained in:
Maxim Sobolev 2000-06-02 08:30:11 +00:00
parent 165ef83f6b
commit 4558367d7c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=29094

View File

@ -35,7 +35,7 @@ CONFIGURE_ARGS= "--with-sdl=${LOCALBASE}"
CONFIGURE_ENV= "SDL_LIBS=`sdl-config --libs`" \
"SDL_CFLAGS=`sdl-config --cflags`"
.if defined(USE_GLX)
.if defined(WITH_GLX)
GL_DEPENDS= GL.1:${PORTSDIR}/graphics/utah-glx
BINARIES+= quake-gl qw-client-gl
.else
@ -50,14 +50,14 @@ BINDIR= ${PREFIX}/bin
.endif
pre-configure:
.if !defined(USE_GLX)
@${ECHO_MSG} "Define USE_GLX to use GLX (otherwise it is explicitly disabled!)"
.if !defined(WITH_GLX)
@${ECHO_MSG} "Define WITH_GLX to use GLX (otherwise it is explicitly disabled!)"
.endif
do-install:
@${CP} ${PKGDIR}/PLIST ${PLIST}
.if defined(USE_GLX)
.if defined(WITH_GLX)
@${CAT} ${PKGDIR}/PLIST.glx >>${PLIST}
.endif