diff options
author | marino <marino> | 2012-05-16 22:02:19 +0000 |
---|---|---|
committer | marino <marino> | 2012-05-16 22:02:19 +0000 |
commit | 4230fe28f0745a703825e84f1b7d8be35b44f067 (patch) | |
tree | 5dac6f11a407525d490dc54650cd1c1fa0d4f33d /games/gtkmagnetic | |
parent | 5256856b4073fd84360b068a84de879fe290010b (diff) | |
download | pkgsrc-4230fe28f0745a703825e84f1b7d8be35b44f067.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/gtkmagnetic')
-rw-r--r-- | games/gtkmagnetic/distinfo | 3 | ||||
-rw-r--r-- | games/gtkmagnetic/patches/patch-Makefile | 13 |
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) |