Date: Fri, 20 Mar 2009 18:10:36 +0000 From: Bruce Cran <bruce@cran.org.uk> To: Sam Leffler <sam@freebsd.org> Cc: svn-src-head@freebsd.org, Vasil Dimov <vd@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org, Coleman Kane <cokane@freebsd.org> Subject: Re: svn commit: r189828 - in head: include sys/sys Message-ID: <20090320181036.3589c284@gluon> In-Reply-To: <49C3D518.6070105@freebsd.org> References: <200903142010.n2EKAESF006945@svn.freebsd.org> <20090320140015.GA17645@hub.freebsd.org> <20090320153405.GA62675@zim.MIT.EDU> <49C3BCD4.4030605@freebsd.org> <1237567495.1993.2.camel@localhost> <49C3D518.6070105@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Mar 2009 10:40:40 -0700 Sam Leffler <sam@freebsd.org> wrote: > Coleman Kane wrote: > > On Fri, 2009-03-20 at 08:57 -0700, Sam Leffler wrote: > >> Dumb question, why do we need devel/pth? Isn't the native pthread > >> support sufficient? > >> > >> Sam > >> > >> > > > > For whatever reason, both security/libassuan and security/gnupg want > > pth. > > > > I was able to solve the problem by removing the "#include > > <signal.h>" from the offending file (there is only one) in > > devel/pth. After that, it built fine and I am using it now. > > > > Maybe devel/pth doesn't even really need to #include <signal.h> > > anymore.... > > > > Well a recent foray into dealing with this ports breakage made me > question why we drag in various packages. devel/pth is one example; > I see many others scroll by that appear to duplicate functionality in > the base system. At the end of the day it's clearly an issue of > maintenance overhead--we'd have to mod apps to do things like remove > use of gnu-long-opts in to switch away from things like gtar and the > savings is unclear. But I can ask... The only explanation I've found as to why gnupg requires pth and doesn't just use the OS's own pthreads implementation is at http://markmail.org/message/3euqd4xfg6e5ehc7 -- Bruce Cran
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090320181036.3589c284>