summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-03-28 16:24:21 +0000
committerjoerg <joerg@pkgsrc.org>2006-03-28 16:24:21 +0000
commit5a81629108bfdedbd5beaff63e16300ba007c3e4 (patch)
treef9e05d3be1c15853c6f827e4206c8d46413665de
parentfb5494252c0ccbc957b934ef267a1da3dbb8cc49 (diff)
downloadpkgsrc-5a81629108bfdedbd5beaff63e16300ba007c3e4.tar.gz
Fix pthread linkage.
-rw-r--r--audio/gkrellm-xmms/Makefile3
-rw-r--r--audio/gkrellm-xmms/distinfo4
-rw-r--r--audio/gkrellm-xmms/patches/patch-aa11
3 files changed, 12 insertions, 6 deletions
diff --git a/audio/gkrellm-xmms/Makefile b/audio/gkrellm-xmms/Makefile
index e36776f2126..50427d01f40 100644
--- a/audio/gkrellm-xmms/Makefile
+++ b/audio/gkrellm-xmms/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2006/02/05 23:08:08 joerg Exp $
+# $NetBSD: Makefile,v 1.24 2006/03/28 16:24:21 joerg Exp $
#
DISTNAME= gkrellmms-2.1.20
@@ -23,4 +23,5 @@ MAKE_ENV+= LOCALEDIR=${PREFIX}/${PKGLOCALEDIR}/locale \
.include "../../sysutils/gkrellm/buildlink3.mk"
.include "../../audio/xmms/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/gkrellm-xmms/distinfo b/audio/gkrellm-xmms/distinfo
index 1ca921c25ad..19c54d315e3 100644
--- a/audio/gkrellm-xmms/distinfo
+++ b/audio/gkrellm-xmms/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/23 20:39:45 agc Exp $
+$NetBSD: distinfo,v 1.6 2006/03/28 16:24:21 joerg Exp $
SHA1 (gkrellmms-2.1.20.tar.gz) = 6aa0b3910fdfc9003305bc6735b44bd70e81be16
RMD160 (gkrellmms-2.1.20.tar.gz) = ac03b2be23f1eb6807621f9ca37e2cc460bed58b
Size (gkrellmms-2.1.20.tar.gz) = 44937 bytes
-SHA1 (patch-aa) = 27f8e60da4cbdb31cdb78fc2508565aa17eec430
+SHA1 (patch-aa) = 8dc3c0f6c9eca258cae03c97c218efbabd605137
diff --git a/audio/gkrellm-xmms/patches/patch-aa b/audio/gkrellm-xmms/patches/patch-aa
index a808eb29d60..6c5276098ef 100644
--- a/audio/gkrellm-xmms/patches/patch-aa
+++ b/audio/gkrellm-xmms/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 2004/02/24 22:46:34 cube Exp $
+$NetBSD: patch-aa,v 1.3 2006/03/28 16:24:21 joerg Exp $
---- Makefile.orig 2003-03-19 12:12:30.000000000 +0100
+--- Makefile.orig 2004-05-17 20:07:07.000000000 +0000
+++ Makefile
-@@ -9,7 +9,7 @@ IMLIB_INCLUDE ?=
+@@ -9,11 +9,11 @@ IMLIB_INCLUDE ?=
IMLIB_LIB ?=
XMMS_INCLUDE ?= `xmms-config --cflags`
XMMS_LIB ?= `xmms-config --libs`
@@ -11,3 +11,8 @@ $NetBSD: patch-aa,v 1.2 2004/02/24 22:46:34 cube Exp $
FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(XMMS_INCLUDE)
LIBS = $(GTK_LIB) $(IMLIB_LIB) $(XMMS_LIB)
+-LFLAGS = -shared -lpthread
++LFLAGS = -shared ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+
+ LOCALEDIR ?= /usr/share/locale
+ ifeq ($(enable_nls),1)