summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2010-09-30 16:13:45 +0000
committerAlfredo Tupone <tupone@gentoo.org>2010-09-30 16:13:45 +0000
commitf46c8062933c4d345cf43bdcfd4dd7650483cb12 (patch)
tree89783a1876b2599200ef49f76e69ab52724eb599 /games-arcade/xtux/files
parentCleanup, improve directory structure, bug 139537, thanks to Roberto Castagnol... (diff)
downloadgentoo-2-f46c8062933c4d345cf43bdcfd4dd7650483cb12.tar.gz
gentoo-2-f46c8062933c4d345cf43bdcfd4dd7650483cb12.tar.bz2
gentoo-2-f46c8062933c4d345cf43bdcfd4dd7650483cb12.zip
Respect LDFLAGS. Bug #337435
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-arcade/xtux/files')
-rw-r--r--games-arcade/xtux/files/xtux-20030306-ldflags.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-arcade/xtux/files/xtux-20030306-ldflags.patch b/games-arcade/xtux/files/xtux-20030306-ldflags.patch
new file mode 100644
index 000000000000..d2c798d0795d
--- /dev/null
+++ b/games-arcade/xtux/files/xtux-20030306-ldflags.patch
@@ -0,0 +1,22 @@
+--- src/client/Makefile.old 2010-09-30 18:08:16.000000000 +0200
++++ src/client/Makefile 2010-09-30 18:08:41.000000000 +0200
+@@ -48,7 +48,7 @@
+
+ #Apps
+ client: $(OBJECTS)
+- $(CC) -o $(BINARY) $(CFLAGS) $(OBJECTS) $(XTUXLIB) $(MATHLIB) $(X11LIB) $(XPMLIB) $(SOCKLIB) $(GGZLIB)
++ $(CC) -o $(BINARY) $(LDFLAGS) $(CFLAGS) $(OBJECTS) $(XTUXLIB) $(MATHLIB) $(X11LIB) $(XPMLIB) $(SOCKLIB) $(GGZLIB)
+
+ # OBJECTS
+ .c.o: client.h $*.c
+--- src/server/Makefile.old 2010-09-30 18:09:55.000000000 +0200
++++ src/server/Makefile 2010-09-30 18:10:16.000000000 +0200
+@@ -41,7 +41,7 @@
+
+ #Apps
+ server: $(OBJECTS)
+- $(CC) -o $(BINARY) $(OBJECTS) $(XTUXLIB) $(MATHLIB) $(SOCKLIB) $(GGZLIB)
++ $(CC) $(LDFLAGS) -o $(BINARY) $(OBJECTS) $(XTUXLIB) $(MATHLIB) $(SOCKLIB) $(GGZLIB)
+
+ # OBJECTS
+ .c.o: server.h $*.h $*.c