summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg>2006-03-25 17:29:45 +0000
committerjoerg <joerg>2006-03-25 17:29:45 +0000
commit363d732b90b20153cc543fe86fe15779d3af14fc (patch)
treeda4e9d7764528487fe85253dfc08a2a13c5808fe /misc
parent608315bcf253a9624a661eddb6c383d3d2039cf0 (diff)
downloadpkgsrc-363d732b90b20153cc543fe86fe15779d3af14fc.tar.gz
Fix pthread linkage.
Diffstat (limited to 'misc')
-rw-r--r--misc/gkrellm-weather/Makefile3
-rw-r--r--misc/gkrellm-weather/distinfo3
-rw-r--r--misc/gkrellm-weather/patches/patch-ab13
3 files changed, 17 insertions, 2 deletions
diff --git a/misc/gkrellm-weather/Makefile b/misc/gkrellm-weather/Makefile
index bf9438af783..02424b38418 100644
--- a/misc/gkrellm-weather/Makefile
+++ b/misc/gkrellm-weather/Makefile
@@ -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 @@ pre-build:
.include "../../sysutils/gkrellm/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/misc/gkrellm-weather/distinfo b/misc/gkrellm-weather/distinfo
index b54e2d11e87..798603301cc 100644
--- a/misc/gkrellm-weather/distinfo
+++ b/misc/gkrellm-weather/distinfo
@@ -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 --git a/misc/gkrellm-weather/patches/patch-ab b/misc/gkrellm-weather/patches/patch-ab
new file mode 100644
index 00000000000..cd80c94b44b
--- /dev/null
+++ b/misc/gkrellm-weather/patches/patch-ab
@@ -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 )