Subject: pkg/21249: pth error building security/gpgme
To: None <gnats-bugs@gnats.netbsd.org>
From: None <pasdiari@eupmt.es>
List: netbsd-bugs
Date: 04/21/2003 11:36:35
>Number:         21249
>Category:       pkg
>Synopsis:       pth error building security/gpgme
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 21 11:37:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ricard
>Release:        1.6
>Organization:
>Environment:
NetBSD raver.raver135.homeip.net 1.6R NetBSD 1.6R (RAVER_KERNEL) #1: Mon Apr 14 00:42:03 CEST 2003  root@raver.raver135.homeip.net:/usr/src/sys/arch/i386/compile/RAVER_KERNEL i386
>Description:
When trying to install gpgme-0.3.15 it ever got an error checking for pth.h file in /usr/pkg/include, but this file exists inside this directory.


>How-To-Repeat:
I don't know if it will happen in all hosts, but I simply do:

cd /usr/pksrc/security/gpgme/
make  install
>Fix:
Unavailabling pthreads parameters of the Makefile it goes on. It's the patch:

Index: Makefile 
===================================================================
RCS file: /cvsroot/pkgsrc/security/gpgme/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile

--- Makefile    2003-04-21 12:37:31.000000000 +0200
+++ Makefile    2003-04-21 12:26:29.000000000 +0200
@@ -1,5 +1,5 @@
 # $NetBSD: Makefile,v 1.9 2003/03/11 00:11:31 salo Exp $
-#
+# 

 DISTNAME=      gpgme-0.3.15
 CATEGORIES=    security
@@ -14,12 +14,13 @@
 USE_BUILDLINK2=                YES
 GNU_CONFIGURE=         YES
 PTHREAD_OPTS+=         require
+CONFIGURE_ARGS+=       --with-pth=no

 USE_LIBTOOL=           YES
 LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool

 INFOFILES=             gpgme.info

-.include "../../mk/pthread.buildlink2.mk"
+#.include "../../mk/pthread.buildlink2.mk"
 .include "../../mk/texinfo.mk"
 .include "../../mk/bsd.pkg.mk"
>Release-Note:
>Audit-Trail:
>Unformatted: