openbsd-ports/games/quake/patches/patch-configure_in
espie 39429549e3 Quake. Needs you to have datafiles to be useful.
Original by Maurices Nonnekes, a few tweaks (sound, i386 optimizations,
longer save menus) by me.

The client/server part probably still needs some work... 
and it is definitely unaudited.

Packaging might be changed to account for docs...

In fact, I really need `common' package files and reference counting...
2001-08-03 13:02:16 +00:00

42 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure_in,v 1.1.1.1 2001/08/03 13:02:16 espie Exp $
--- configure.in.orig Tue Jan 11 12:10:13 2000
+++ configure.in Tue Jul 31 17:26:42 2001
@@ -14,7 +14,7 @@ AC_PROG_MAKE_SET
dnl Checks for header files.
AC_CHECK_HEADERS(unistd.h windows.h sys/ioctl.h sys/mman.h sys/asoundlib.h \
- sys/soundcard.h linux/soundcard.h machine/soundcard.h sys/audioio.h \
+ sys/soundcard.h soundcard.h linux/soundcard.h machine/soundcard.h sys/audioio.h \
dsound.h mmsystem.h mme/mmsystem.h mme/mme_public.h)
dnl checks for compiler characteristics
@@ -232,10 +232,10 @@ if test "x$HAS_SVGA" != xyes; then
fi
dnl Make sure -lpthread works (for SDL)
-if test "x$HAS_SDL" = xyes; then
- AC_CHECK_LIB(pthread, pthread_exit ,SDL_LIBS="$SDL_LIBS -lpthread"
- HAS_SDL=yes, HAS_SDL=no, [$SDL_LIBS])
-fi
+dnl if test "x$HAS_SDL" = xyes; then
+dnl AC_CHECK_LIB(pthread, pthread_exit ,SDL_LIBS="$SDL_LIBS -lpthread"
+dnl HAS_SDL=yes, HAS_SDL=no, [$SDL_LIBS])
+dnl fi
if test "x$HAS_SDL" != xyes; then
SDL_CFLAGS="" SDL_LIBS=""
fi
@@ -453,6 +453,13 @@ case "${target}" in
SYS_SRC="sys_linux.c"
QW_CL_SYS_SRC="sys_linux.c"
QW_SRV_SYS_SRC="sys_unix.c"
+ ;;
+ *-*-openbsd*)
+ SYS_SRC="sys_unix.c"
+ QW_CL_SYS_SRC="sys_linux.c"
+ QW_SRV_SYS_SRC="sys_unix.c"
+ SND_STYLE="OpenBSD"
+ DEFAULT_SYS=yes
;;
*)
SYS_SRC="sys_unix.c"