pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/gkrellm-weather Fix pthread linkage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/145b61806e99
branches:  trunk
changeset: 510096:145b61806e99
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Mar 25 17:29:45 2006 +0000

description:
Fix pthread linkage.

diffstat:

 misc/gkrellm-weather/Makefile         |   3 ++-
 misc/gkrellm-weather/distinfo         |   3 ++-
 misc/gkrellm-weather/patches/patch-ab |  13 +++++++++++++
 3 files changed, 17 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r dc168bb85e7b -r 145b61806e99 misc/gkrellm-weather/Makefile
--- a/misc/gkrellm-weather/Makefile     Sat Mar 25 17:14:40 2006 +0000
+++ b/misc/gkrellm-weather/Makefile     Sat Mar 25 17:29:45 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/02/05 23:10:08 joerg Exp $
+# $NetBSD: Makefile,v 1.23 2006/03/25 17:29:45 joerg Exp $
 
 DISTNAME=       gkrellweather-2.0.6
 PKGNAME=        gkrellm-weather-2.0.6
@@ -31,5 +31,6 @@
 
 .include "../../sysutils/gkrellm/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r dc168bb85e7b -r 145b61806e99 misc/gkrellm-weather/distinfo
--- a/misc/gkrellm-weather/distinfo     Sat Mar 25 17:14:40 2006 +0000
+++ b/misc/gkrellm-weather/distinfo     Sat Mar 25 17:29:45 2006 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 11:02:52 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/03/25 17:29:45 joerg Exp $
 
 SHA1 (gkrellweather-2.0.6.tgz) = c54f5e48879158f25db9ec4e5226cd0ca686861f
 RMD160 (gkrellweather-2.0.6.tgz) = 58d9f4aa42280167d632df16dd71d94a95a3d21b
 Size (gkrellweather-2.0.6.tgz) = 20399 bytes
 SHA1 (patch-aa) = ab3068c247a1e8cc2c9f636aa5b10d317c93ac04
+SHA1 (patch-ab) = a8b0a0f1435bc968ce182bdef2fe8cf4c8e83a3d
diff -r dc168bb85e7b -r 145b61806e99 misc/gkrellm-weather/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/gkrellm-weather/patches/patch-ab     Sat Mar 25 17:29:45 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2006/03/25 17:29:45 joerg Exp $
+
+--- Makefile.orig      2003-03-31 11:12:57.000000000 +0000
++++ Makefile
+@@ -20,7 +20,7 @@ OBJS = gkrellweather.o
+ 
+ gkrellweather.so: $(OBJS)
+       (cd po && ${MAKE} all )
+-      $(CC) $(OBJS) -DVERSION=\"$(VERSION)\" -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread
++      $(CC) $(OBJS) -DVERSION=\"$(VERSION)\" -o gkrellweather.so $(LFLAGS) $(LIBS) ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+ 
+ clean:
+       (cd po && ${MAKE} clean )



Home | Main Index | Thread Index | Old Index