Subject: pkg/26993: x11/xfce4-mcs-manager needs to link against libpthread
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: pkgsrc-bugs
Date: 09/19/2004 10:10:02
>Number: 26993
>Category: pkg
>Synopsis: x11/xfce4-mcs-manager needs to link against libpthread
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 19 01:09:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Hiramatsu Yoshifumi
>Release: NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD orinoco.my.domain 2.0G NetBSD 2.0G (Orinoco) #0: Sun Sep 12 07:42:06 JST 2004 hiramatsu@orinoco.my.domain:/usr/src/sys/arch/i386/compile/Orinoco i386
Architecture: i386
Machine: i386
>Description:
On NetBSD-current, x11/xfce4-mcs-manager needs to link against libpthread
because it has plugin capability.
>How-To-Repeat:
>Fix:
diff -buNr xfce4-mcs-manager.orig/Makefile xfce4-mcs-manager/Makefile
--- xfce4-mcs-manager.orig/Makefile 2004-09-19 09:27:25.000000000 +0900
+++ xfce4-mcs-manager/Makefile 2004-09-19 09:27:53.000000000 +0900
@@ -9,6 +9,10 @@
PKGCONFIG_OVERRIDE= xfce-mcs-manager/xfce-mcs-manager.pc.in
+CFLAGS+= ${PTHREAD_CFLAGS}
+LIBS+= ${PTHREAD_LDFLAGS}
+
.include "../../x11/libxfce4gui/buildlink3.mk"
.include "../../x11/libxfce4mcs/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: