diff options
-rw-r--r-- | games/heretic/Makefile | 3 | ||||
-rw-r--r-- | games/heretic/files/patch-graphics::i_sdl.c | 14 | ||||
-rw-r--r-- | games/heretic/files/patch-graphics::i_sdl_gl.c | 14 |
3 files changed, 31 insertions, 0 deletions
diff --git a/games/heretic/Makefile b/games/heretic/Makefile index 6c5439e..0dee74e 100644 --- a/games/heretic/Makefile +++ b/games/heretic/Makefile @@ -33,7 +33,10 @@ BINARY= xaheretic .if defined(WITH_SDL) ALL_TARGET= sdl BINARY= sdlheretic +SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config LIB_DEPENDS= SDL-1.0.2:${PORTSDIR}/devel/sdl10 +MAKE_ENV+= SDL_CONFIG="${SDL_CONFIG}" +CFLAGS+= `${SDL_CONFIG} --cflags` .endif .if defined(WITHOUT_WAD) diff --git a/games/heretic/files/patch-graphics::i_sdl.c b/games/heretic/files/patch-graphics::i_sdl.c new file mode 100644 index 0000000..388677f --- /dev/null +++ b/games/heretic/files/patch-graphics::i_sdl.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- graphics/i_sdl.c 2002/04/17 17:57:00 1.1 ++++ graphics/i_sdl.c 2002/04/17 17:57:08 +@@ -7,7 +7,7 @@ + #include <sys/time.h> + #include "doomdef.h" + +-#include "SDL/SDL.h" ++#include "SDL.h" + + static int lastmousex = 0; + static int lastmousey = 0; diff --git a/games/heretic/files/patch-graphics::i_sdl_gl.c b/games/heretic/files/patch-graphics::i_sdl_gl.c new file mode 100644 index 0000000..96ef61c --- /dev/null +++ b/games/heretic/files/patch-graphics::i_sdl_gl.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- graphics/i_sdl_gl.c 2002/04/17 17:57:00 1.1 ++++ graphics/i_sdl_gl.c 2002/04/17 17:57:14 +@@ -4,7 +4,7 @@ + #include <sys/time.h> + #include "doomdef.h" + +-#include <SDL/SDL.h> ++#include <SDL.h> + + #include "gl_struct.h" + |