Subject: port-i386/34235: centericq can not be installed via pkgsrc with gpg support
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <fenicottero@gmail.com>
List: netbsd-bugs
Date: 08/19/2006 14:40:00
>Number:         34235
>Category:       port-i386
>Synopsis:       centericq can not be installed via pkgsrc with gpg support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 19 14:40:00 +0000 2006
>Originator:     Oleg Pilyavets
>Release:        3.0-stable
>Organization:
Lebedev Physical Institute
>Environment:
NetBSD drummer.intranet.lebedev.ru 3.0 NetBSD 3.0 (MYKERNEL) #5: Sun Jun 18 03:30:04 MSD 2006  root@spinor.triniti.nat:/usr/src/sys/arch/i386/compile/MYKERNEL i386
>Description:
I want to install centericq with end-to-end gpg support.
gpgme-1.0.3nb3 package is installed on my system.

centericq Makefile's version is:

# $NetBSD: Makefile,v 1.59 2006/03/04 21:29:02 jlam Exp $
#

DISTNAME=       centericq-4.21.0
CATEGORIES=     chat

I never changed in /usr/pkgsrc/chat/centericq/Makefile file.

centericq is compiled --with-gpgme flag support by default according to declared in Makefile.

However, when I run 

$ cd /usr/pkgsrc/chat/centericq && make

centericq's port can't detect gpgme installed on my system and prints the next text:

..............................................

===> Overriding tools for centericq-4.21.0nb2
===> Extracting for centericq-4.21.0nb2
===> Patching for centericq-4.21.0nb2

..............................................

checking for iconv... yes
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for initscr in -lncurses... yes
./configure.lineno: /usr/pkg/bin/gpgme-config/bin/gpgme-config: not found
./configure.lineno: /usr/pkg/bin/gpgme-config/bin/gpgme-config: not found
checking OpenPGP protocol is available... no
checking for curl-config... /usr/pkg/bin/curl-config
configure: WARNING: No GPG support in Jabber, since GPGME library not found or its setup not ok
checking for jpeg_start_decompress in -ljpeg... no
checking for SSL support in libcurl... yes
checking whether NLS is requested... yes

Consequently, I obtain centericq which doesn't support end-to-end gpg.

>How-To-Repeat:
To repeat the problem you should try to install centericq-4.21.0nb2 via pkgsrc under condition gpgme is already installed:

$ ls -l /var/db/pkg |grep gpgme
drwxr-xr-x    2 root  wheel  512B Jul 31 06:16 gpgme-1.0.3nb3/
$

$ cd /usr/pkgsrc/chat/centericq && make install

As the resault you obtain centericq without end-to-end gpg support.

>Fix: