openbsd-ports/games/ufoai/base/patches/patch-build_game_mk
ajacoutot 782bc94360 Import ufoai-2.3.1.
"UFO: Alien Invasion" is a squad-based tactical strategy game in the
tradition of the old X-COM PC games, but with a twist. This game
combines military realism with hard science-fiction and the weirdness
of an alien invasion. The carefully constructed turn-based system gives
you pin-point control of your squad while maintaining a sense of pace
and danger.

prodded by oga@
from Antti Harri and Kirill Bychkov (maintainer) with several tweaks from me
ok jasper@
2011-05-27 07:20:11 +00:00

17 lines
780 B
Plaintext

$OpenBSD: patch-build_game_mk,v 1.1.1.1 2011/05/27 07:20:11 ajacoutot Exp $
--- build/game.mk.orig Mon Nov 29 19:46:35 2010
+++ build/game.mk Mon Apr 18 16:04:15 2011
@@ -86,10 +86,8 @@ endif
# Say how about to build the target
$(GAME_TARGET) : $(GAME_OBJS)
- @echo " * [GAM] ... linking $(LNKFLAGS) ($(GAME_LIBS))"; \
- $(CC) $(LDFLAGS) $(SHARED_LDFLAGS) -o $@ $(GAME_OBJS) $(GAME_LIBS) $(LNKFLAGS)
+ $(CC) $(LDFLAGS) $(SHARED_LDFLAGS) -o $@ $(GAME_OBJS) $(GAME_LIBS) $(LNKFLAGS)
# Say how to build .o files from .c files for this module
$(BUILDDIR)/game/%.o: $(SRCDIR)/%.c
- @echo " * [GAM] $<"; \
- $(CC) $(CFLAGS) $(SHARED_CFLAGS) $(GAME_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(SHARED_CFLAGS) $(GAME_CFLAGS) -o $@ -c $< $(CFLAGS_M_OPTS)