openbsd-ports/games/egoboo/patches/patch-game_Makefile_unix
phessler 05d67e73fd Egoboo is a dungeon-crawling action-RPG adventure. It has a unique mood,
and is a lot of fun to play. In Egoboo, you will find heaps of loot,
kill hordes of monsters, and discover many unusual places on your quest
to save Lord Bishop from his imminent doom!

OK steven@
2009-10-11 14:01:39 +00:00

19 lines
669 B
Plaintext

$OpenBSD: patch-game_Makefile_unix,v 1.1.1.1 2009/10/11 14:01:39 phessler Exp $
--- game/Makefile.unix.orig Fri Jul 3 11:36:02 2009
+++ game/Makefile.unix Sun Oct 11 15:44:34 2009
@@ -20,11 +20,11 @@ SDL_CONF := sdl-config
SDLCONF_I := $(shell ${SDL_CONF} --cflags)
SDLCONF_L := $(shell ${SDL_CONF} --libs)
-CC := gcc
+CC ?= gcc
OPT := -Os -Wall
INC := -I. -I../enet/include -I.. ${SDLCONF_I}
-CFLAGS := ${OPT} ${INC}
-LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image
+CFLAGS := ${OPT} ${INC} ${CFLAGS}
+LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU -lSDL_image ${LDFLAGS}
EGO_BIN := egoboo