Hi, add a gl flavor to the quake port. builds here, but segfaults on amd64 at least, so i guess it has 64-bit problems.
This doesn't fix the really annoying thing about quake (that you can't have a datadir in /usr/local/something. I've also had a port for darkplaces (a better, shinier quake engine) lying around for ages, but never finished it, it's rather messy. I'll send the scrappy version to anyone who wants to fix it. ok? -0- -- It shall be unlawful for any suspicious person to be within the municipality. -- Local ordinance, Euclid Ohio Index: Makefile =================================================================== RCS file: /cvs/ports/games/quake/Makefile,v retrieving revision 1.22 diff -u -p -r1.22 Makefile --- Makefile 10 Aug 2009 06:31:42 -0000 1.22 +++ Makefile 16 Dec 2009 20:50:40 -0000 @@ -25,7 +25,7 @@ WANTLIB= c m USE_GMAKE= Yes MULTI_PACKAGES= -main -server -FLAVORS= sdl ggi x11 +FLAVORS= sdl ggi x11 gl FLAVOR?= sdl CONFIGURE_ENV=LDFLAGS='-L${LOCALBASE}/lib -L${X11BASE}/lib' @@ -33,7 +33,6 @@ CONFIGURE_ENV+=CPPFLAGS='-I${LOCALBASE}/ CONFIGURE_STYLE= autoconf CONFIGURE_ARGS= --enable-release CONFIGURE_ARGS+= --bindir=/bin -CONFIGURE_ARGS+= --with-opengl=no --with-opengl-includes=no .if ${FLAVOR:L} == sdl @@ -52,8 +51,15 @@ CFLAGS+= -pthread CONFIGURE_ARGS+= --without-sdl --without-ggi MAKE_FLAGS= WANTLIB-main= X11 Xext c m pthread-stubs xcb +.elif ${FLAVOR:L} == gl +CONFIGURE_ARGS+= --with-opengl=yes --with-opengl-includes=${X11BASE}/include +WANTLIB+= GL X11 Xext pthread .else BROKEN= choose either sdl, ggi or x11 +.endif + +.if ${FLAVOR:L} != gl +CONFIGURE_ARGS+= --with-opengl=no --with-opengl-includes=no .endif WRKDIST= ${WRKDIR}/quakeforge