summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2012-05-16 22:02:19 +0000
committermarino <marino@pkgsrc.org>2012-05-16 22:02:19 +0000
commitdafee131e0b337ce69fabc3a98dfb8f83075c0a6 (patch)
tree5dac6f11a407525d490dc54650cd1c1fa0d4f33d /games
parent4499c5985489ac4274e5a385803287830ee1b048 (diff)
downloadpkgsrc-dafee131e0b337ce69fabc3a98dfb8f83075c0a6.tar.gz
games/gtkmagnetic: Fix indirect linking (affects all platforms)
The patch causes libm to be directly linked for all platforms. There was no easy way to limit it to only DragonFly.
Diffstat (limited to 'games')
-rw-r--r--games/gtkmagnetic/distinfo3
-rw-r--r--games/gtkmagnetic/patches/patch-Makefile13
2 files changed, 15 insertions, 1 deletions
diff --git a/games/gtkmagnetic/distinfo b/games/gtkmagnetic/distinfo
index 92427397909..47c2798c5e9 100644
--- a/games/gtkmagnetic/distinfo
+++ b/games/gtkmagnetic/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/04/19 09:51:27 dillo Exp $
+$NetBSD: distinfo,v 1.4 2012/05/16 22:02:19 marino Exp $
SHA1 (gtkmagnetic-2.2.1.6/Magnetic22Src.zip) = 86f58240f6fc34125ddbd4cd6a0b82cdc5e5e643
RMD160 (gtkmagnetic-2.2.1.6/Magnetic22Src.zip) = 7926ef8ad49e971dbb0bd9c1be093acbf94aabe8
Size (gtkmagnetic-2.2.1.6/Magnetic22Src.zip) = 395601 bytes
+SHA1 (patch-Makefile) = de04d80daa10d740fb45cc7c1879b94ccfc4618e
diff --git a/games/gtkmagnetic/patches/patch-Makefile b/games/gtkmagnetic/patches/patch-Makefile
new file mode 100644
index 00000000000..61fd6da54df
--- /dev/null
+++ b/games/gtkmagnetic/patches/patch-Makefile
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile,v 1.1 2012/05/16 22:02:19 marino Exp $
+
+--- Makefile.orig 2012-05-16 21:04:23.000000000 +0000
++++ Makefile
+@@ -69,7 +69,7 @@ endif
+
+ #######################################################################
+
+-LIBS = $(GTK_LIBS) $(SOUND_LIBS)
++LIBS = $(GTK_LIBS) $(SOUND_LIBS) -lm
+
+ gtkmagnetic: $(OBJS)
+ $(CC) -o gtkmagnetic $(OBJS) $(LIBS)