mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
01726beb98
on amd64 (and likely other 64-bit architectures): - Prototype for `void *qwglGetProcAddress(char *symbol)' was guarded by #ifdef __linux__; this was not a problem on i386, where sizeof(void *) /actual return type/ == sizeof(int) /assumed return type of undeclared function/. On amd64, returned pointer would sometimes get truncated, leading to a program's crash. Mend this by turning `#ifdef __linux__' condition essentially into `#ifndef _WIN32' - Software renderer was typedef'ing PIXEL24 as `unsigned long'; fix it by using `unsigned int' type instead - Remove `-s' from OPTIMIZED_CFLAGS: stripping is taken care of during installation (subject to WITH_DEBUG); also remove optimization flag `-fexpensive-optimizations' as it is not being supported by Clang - While here, fix `version' console command to report correct operating system and architecture names - Employ options helper target to install documentation; add more useful changelogs and drop `quake2.3dfxgl' file (meaningless these days)
30 lines
930 B
Plaintext
30 lines
930 B
Plaintext
@comment === EXECUTABLES ===
|
|
%%SERVER%%bin/q2ded
|
|
%%CLIENT%%bin/quake2
|
|
%%SDLCLIENT%%bin/quake2-sdl
|
|
@comment === RENDERERS ===
|
|
%%GAME%%%%LIBDIR%%/baseq2/game.so
|
|
%%CTF%%%%LIBDIR%%/ctf/game.so
|
|
%%GLX%%%%LIBDIR%%/ref_glx.so
|
|
%%SDLGL%%%%LIBDIR%%/ref_sdlgl.so
|
|
%%SVGA%%%%LIBDIR%%/ref_soft.so
|
|
%%AA%%%%LIBDIR%%/ref_softaa.so
|
|
%%SOFTSDL%%%%LIBDIR%%/ref_softsdl.so
|
|
%%X11%%%%LIBDIR%%/ref_softx.so
|
|
@comment === DOCS ===
|
|
%%PORTDOCS%%%%DOCSDIR%%/3.15_Changes.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/3.16_Changes.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/3.17_Changes.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/3.19_Changes.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/3.20_Changes.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/3.21_Changes.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
|
%%PORTDOCS%%%%DOCSDIR%%/README.320
|
|
%%PORTDOCS%%%%DOCSDIR%%/changes.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/joystick.txt
|
|
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
|
|
@comment === DATA ===
|
|
%%QMAX%%%%LIBDIR%%/baseq2/maxpak.pak
|
|
@comment === CLEANUP ===
|
|
@dir %%LIBDIR%%/baseq2
|