summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-strategy/lgeneral/files/lgeneral-1.2_beta13-as-needed.patch')
-rw-r--r--games-strategy/lgeneral/files/lgeneral-1.2_beta13-as-needed.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/games-strategy/lgeneral/files/lgeneral-1.2_beta13-as-needed.patch b/games-strategy/lgeneral/files/lgeneral-1.2_beta13-as-needed.patch
new file mode 100644
index 000000000000..2361aa54d569
--- /dev/null
+++ b/games-strategy/lgeneral/files/lgeneral-1.2_beta13-as-needed.patch
@@ -0,0 +1,13 @@
+--- tools/ltrextract/Makefile.am.old 2009-02-12 09:48:37.000000000 +0100
++++ tools/ltrextract/Makefile.am 2009-02-12 09:50:36.000000000 +0100
+@@ -3,9 +3,8 @@
+
+ bin_PROGRAMS = ltrextract
+
+-LIBS = $(top_builddir)/util/libutil.a $(INTLLIBS)
+ AM_CFLAGS = -DLTREXTRACT @dis_flag@ -I$(LGENERAL_PATH) -I$(top_srcdir) -I$(top_srcdir)/util $(INTLINCLUDES)
+-ltrextract_LDFLAGS = -lm
++ltrextract_LDADD = $(top_builddir)/util/libutil.a $(INTLLIBS)
+ ltrextract_SOURCES = ltrextract.c util.c util.h \
+ terrain.c terrain.h map.c map.h nation.c nation.h \
+ unit_lib.c unit_lib.h scenario.c scenario.h campaign.c campaign.h \