diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-05-22 05:54:09 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-05-22 05:54:09 +0000 |
commit | 3ff4b19cd35b1dac0d50b45d67cced7cc0f6665f (patch) | |
tree | 0917b85d493b56aab6a64ed6e60e6d2104645686 /games | |
parent | cc85cb1e25a319261bd41b63378bcfc5ed1c2c88 (diff) | |
download | FreeBSD-ports-3ff4b19cd35b1dac0d50b45d67cced7cc0f6665f.zip FreeBSD-ports-3ff4b19cd35b1dac0d50b45d67cced7cc0f6665f.tar.gz |
build with sdl sound
PR: 38111
Submitted by: Anton Voronin <anton@chelcom.ru>
Approved by: maintainer
Diffstat (limited to 'games')
-rw-r--r-- | games/quakeforge/files/patch-gl-snd | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/games/quakeforge/files/patch-gl-snd b/games/quakeforge/files/patch-gl-snd new file mode 100644 index 0000000..7f87b06 --- /dev/null +++ b/games/quakeforge/files/patch-gl-snd @@ -0,0 +1,31 @@ +--- uquake/Makefile.in.orig2 Tue May 14 21:27:45 2002 ++++ uquake/Makefile.in Wed May 15 15:09:43 2002 +@@ -203,6 +203,9 @@ + CL_COMMON_SRC = $(MISC_SRC) $(CL_GUI_SRC) $(CL_SRC) \ + $(CL_ADDITIONAL_GENERAL_SRC) $(SND_SRC) r_part.c + ++SDL_CFLAGS = @SDL_CFLAGS@ -DSDL ++SDL_LDFLAGS = @SDL_LIBS@ ++ + + ######################################################################## + # +@@ -352,9 +355,6 @@ + ALL_SDL_OBJS = $(patsubst %,$(BUILD_DIR)/soft/%,$(addsuffix .@OBJEXT@,\ + $(basename $(ALL_SDL_SRC) .c .s))) + +-SDL_CFLAGS = @SDL_CFLAGS@ -DSDL +-SDL_LDFLAGS = @SDL_LIBS@ +- + $(BUILD_DIR)/soft/vid_sdl.@OBJEXT@: $(COMMON_DIR)/vid_sdl.c + $(CC) $(CFLAGS) $(SDL_CFLAGS) -o $@ -c $< + +@@ -447,7 +444,7 @@ + $(BUILD_DIR)/gl/dga_check.@OBJEXT@: $(COMMON_DIR)/dga_check.c + $(CC) $(CFLAGS) $(X11_CFLAGS) -o $@ -c $< + +-$(BUILD_DIR)/soft/snd_oss.@OBJEXT@: $(COMMON_DIR)/snd_oss.c ++$(BUILD_DIR)/gl/snd_oss.@OBJEXT@: $(COMMON_DIR)/snd_oss.c + $(CC) $(CFLAGS) $(SDL_CFLAGS) -o $@ -c $< + + $(GLQUAKE): gl_DIR $(BUILD_DIR)/../$(GLQUAKE) |