summaryrefslogtreecommitdiff
path: root/games-board/eboard/files/eboard-1.1.1-as-needed.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/eboard/files/eboard-1.1.1-as-needed.patch')
-rw-r--r--games-board/eboard/files/eboard-1.1.1-as-needed.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/games-board/eboard/files/eboard-1.1.1-as-needed.patch b/games-board/eboard/files/eboard-1.1.1-as-needed.patch
new file mode 100644
index 000000000000..199dd0e70a2d
--- /dev/null
+++ b/games-board/eboard/files/eboard-1.1.1-as-needed.patch
@@ -0,0 +1,22 @@
+--- a/configure 2009-02-03 14:46:21.000000000 +0100
++++ b/configure 2009-02-03 14:48:13.000000000 +0100
+@@ -638,7 +638,7 @@
+
+ print CONFIGMAKE "CXX = $cxx\n";
+ print CONFIGMAKE "CXXFLAGS = @cxxflags\n";
+-print CONFIGMAKE "LDFLAGS = @ldflags\n";
++print CONFIGMAKE "LDLIBS = @ldflags\n";
+
+ print CONFIGMAKE "prefix = \${DESTDIR}$prefix\n";
+ print CONFIGMAKE "bindir = \${DESTDIR}$prefix/bin\n";
+--- a/elifekam 2009-02-03 14:48:43.000000000 +0100
++++ b/elifekam 2009-02-03 14:48:58.000000000 +0100
+@@ -24,7 +24,7 @@
+ all: eboard nls-dicts
+
+ eboard: $(OBJS)
+- $(CXX) $(LDFLAGS) -o eboard $(OBJS)
++ $(CXX) $(LDFLAGS) -o eboard $(OBJS) $(LDLIBS)
+
+ .cc.o: $< $(HEADERS) $(XPMS)
+ $(CXX) $(CXXFLAGS) -c $< -o $@