summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-01-13 13:57:58 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-01-13 13:57:58 +0000
commit8b90baba79eff9d71ad68423150cda1df9c7696a (patch)
tree3c18c05c941f7c38f17bd32e55e0069be693d1ac /games-strategy/widelands/files
parentFixes for bug #106826 (added password for local connection to webserwer) and ... (diff)
downloadhistorical-8b90baba79eff9d71ad68423150cda1df9c7696a.tar.gz
historical-8b90baba79eff9d71ad68423150cda1df9c7696a.tar.bz2
historical-8b90baba79eff9d71ad68423150cda1df9c7696a.zip
Use user-CFLAGS thanks to Christopher Covington <covracer@gmail.com> in bug 118358
Package-Manager: portage-2.1_pre3-r1
Diffstat (limited to 'games-strategy/widelands/files')
-rw-r--r--games-strategy/widelands/files/widelands-makefile.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games-strategy/widelands/files/widelands-makefile.patch b/games-strategy/widelands/files/widelands-makefile.patch
new file mode 100644
index 000000000000..da96caf3241e
--- /dev/null
+++ b/games-strategy/widelands/files/widelands-makefile.patch
@@ -0,0 +1,14 @@
+--- widelands-b9half/Makefile.orig 2006-01-13 00:19:12.000000000 +0100
++++ widelands-b9half/Makefile 2006-01-13 00:19:29.000000000 +0100
+@@ -160,9 +160,9 @@
+ # Object files and directories, final compilation flags
+
+ OBJECT_DIR:=src/$(TARGET)-$(BUILD)
+-CFLAGS:=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS)
++CFLAGS:=-Wall $(shell $(SDL_CONFIG) --cflags) $(ADD_CFLAGS) $(CFLAGS)
+ CXXFLAGS:=$(CFLAGS)
+-LDFLAGS:=$(shell $(SDL_CONFIG) --libs) $(ADD_LDFLAGS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net
++LDFLAGS:=$(shell $(SDL_CONFIG) --libs) $(ADD_LDFLAGS) -lz -lpng -lSDL_image -lSDL_mixer -lSDL_ttf -lSDL_net $(LDFLAGS)
+
+ ##############################################################################
+ # Building