pkgsrc/games/openttd/patches/patch-Makefile.setting.in
adam 3772853048 Changes 1.2.0:
* Fix: When starting GS or AI, always use the settings of the game, not the
  new-game settings
* Fix: Provide translated comments in the desktop file without language name
  postfix
* Fix: Cloning orders of aircraft with limited range failed
2012-04-28 06:56:42 +00:00

23 lines
818 B
Text

$NetBSD: patch-Makefile.setting.in,v 1.1 2012/04/28 06:56:43 adam Exp $
--- Makefile.setting.in.orig 2012-04-15 11:55:05.000000000 +0000
+++ Makefile.setting.in
@@ -9,13 +9,16 @@ SETTINGSGEN = !!SETTINGSGEN!!
ENDIAN_CHECK = !!ENDIAN_CHECK!!
SRC_DIR = !!SRC_DIR!!
CXX_BUILD = !!CXX_BUILD!!
-CFLAGS_BUILD = !!CFLAGS_BUILD!!
-LDFLAGS_BUILD = !!LDFLAGS_BUILD!!
+CFLAGS_BUILD = !!CFLAGS!! !!CFLAGS_BUILD!!
+LDFLAGS_BUILD = !!LDFLAGS!! !!LDFLAGS_BUILD!! !!LIBS!!
STAGE = !!STAGE!!
SETTING_OBJS_DIR = !!SETTING_OBJS_DIR!!
ENDIAN_TARGETS := endian_host.h endian_target.h $(ENDIAN_CHECK)
+# Make sure endian_host.h is reachable as if it was in the src/ dir
+CFLAGS_BUILD += -I $(SETTING_OBJS_DIR)
+
# Check if we want to show what we are doing
ifdef VERBOSE
Q =