Subject: Re: pkg/28464: gpgme won't build
To: None <smb@research.att.com>
From: Juan RP <juan@xtraeme.nopcode.org>
List: pkgsrc-bugs
Date: 11/29/2004 17:10:49
--Signature=_Mon__29_Nov_2004_17_10_49_+0100_19=26uAN6KzH2TI+
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Mon, 29 Nov 2004 15:27:00 +0000 (UTC)
smb@research.att.com wrote:

> >Description:
> 	security/gpgme won't build, which prevents kde3 from building.
> 	The problem is some thread-related calls in the autoconfig
> 	secript; here are the relevant lines from config.log:

[...]

The configure script of librfuncs should add compiler/linker flags to build
it against libpthread, otherwise enabling PTHREAD_AUTO_VARS is the
way to go:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/librfuncs/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile    16 Nov 2004 21:39:32 -0000      1.8
+++ Makefile    29 Nov 2004 15:51:59 -0000
@@ -16,6 +16,7 @@
 USE_LIBTOOL=           yes
 
 TEST_TARGET=           check
+PTHREAD_AUTO_VARS=     yes
 
 .include "../../mk/pthread.buildlink3.mk"
 .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")

--Signature=_Mon__29_Nov_2004_17_10_49_+0100_19=26uAN6KzH2TI+
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iD8DBQFBq0oJypkLYVDran0RAsFpAKCPRUCcd5KfCRNBgLlBW/WURk8/3ACgj9e2
N/XnXllsgAAL5155yeDDF9M=
=Fofz
-----END PGP SIGNATURE-----

--Signature=_Mon__29_Nov_2004_17_10_49_+0100_19=26uAN6KzH2TI+--