From gnupgaug06@oldach.net  Thu Aug  3 15:05:59 2006
Return-Path: <gnupgaug06@oldach.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2A48016A4E2
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu,  3 Aug 2006 15:05:59 +0000 (UTC)
	(envelope-from gnupgaug06@oldach.net)
Received: from rigel.oldach.net (rigel.oldach.net [194.8.96.250])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9545943D7D
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu,  3 Aug 2006 15:05:46 +0000 (GMT)
	(envelope-from gnupgaug06@oldach.net)
Received: from sep.oldach.net (p548FBCB7.dip0.t-ipconnect.de [84.143.188.183])
	by rigel.oldach.net (8.13.6/8.13.6/hmo30jul04) with ESMTP id k73F5Wgt093687
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Thu, 3 Aug 2006 17:05:34 +0200 (CEST)
	(envelope-from gnupgaug06@oldach.net)
Received: from sep.oldach.net (localhost [127.0.0.1])
	by sep.oldach.net (8.13.6/8.13.6/hmo26jun05) with ESMTP id k73F5UZP000493
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Thu, 3 Aug 2006 17:05:30 +0200 (CEST)
	(envelope-from gnupgaug06@oldach.net)
Received: (from hmo@localhost)
	by sep.oldach.net (8.13.6/8.13.6/Submit/hmo26jun05) id k73F5Txh000492;
	Thu, 3 Aug 2006 17:05:29 +0200 (CEST)
	(envelope-from gnupgaug06@oldach.net)
Message-Id: <200608031505.k73F5Txh000492@sep.oldach.net>
Date: Thu, 3 Aug 2006 17:05:29 +0200 (CEST)
From: gnupgaug06@oldach.net (Helge Oldach)
To: kuriyama@imgsrc.co.jp (Jun Kuriyama)
Cc: FreeBSD-gnats-submit@FreeBSD.org
In-Reply-To: <7mu04uc83j.wl%kuriyama@imgsrc.co.jp> from Jun Kuriyama at "Aug 3, 2006  9:33: 4 pm"
Subject: Re: [patch] WITHOUT_LIBIMAKE useless in ports/gnupg

>Number:         101322
>Category:       ports
>Synopsis:       Re: ports/101311: [patch] WITHOUT_LIBIMAKE useless in ports/gnupg
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 03 15:10:12 GMT 2006
>Closed-Date:    Thu Aug 03 15:15:55 GMT 2006
>Last-Modified:  Thu Aug 03 15:15:55 GMT 2006
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Jun,
 
 Jun Kuriyama:
 > At Thu, 3 Aug 2006 12:06:57 +0200 (CEST),
 > Helge Oldach wrote:
 > > The WITH_LIBICONV config knob does not work if libiconv.so is actually
 > > installed on the system. In this case, it is not possible to build gnupg
 > > without using this libiconv.
 > > 
 > > See the patch below for the reason - and fix.
 > 
 > I don't check your patch yet, but can we build gnupg without linking
 > to libiconv with your patch?  Last I tried, configure script detects
 > libiconv automatically and links to it even if I don't want to link
 > with it.
 
 The corrected patch below will allow to build a gpg without libiconv:
 
 # ldd `which gpg`
 /usr/local/bin/gpg:
         libz.so.3 => /lib/libz.so.3 (0x2812d000)
         libbz2.so.2 => /usr/lib/libbz2.so.2 (0x2813d000)
         libreadline.so.6 => /lib/libreadline.so.6 (0x2814e000)
         libc.so.6 => /lib/libc.so.6 (0x2817b000)
         libncurses.so.6 => /lib/libncurses.so.6 (0x28258000)
 #
 
 --- Makefile~	Wed Aug  2 08:47:18 2006
 +++ Makefile	Thu Aug  3 16:53:25 2006
 @@ -37,13 +37,16 @@
  
  OPTIONS=	LDAP "LDAP keyserver interface" off \
  		LIBICONV "use libiconv" off \
 +		LIBUSB "use libusb" off \
  		SUID_GPG "install GPG with suid" off \
  		NOPORTDOCS "without port docs" off
  
  .include <bsd.port.pre.mk>
  
 -.if defined(WITH_LIBICONV) || exists(${PREFIX}/lib/libiconv.so)
 +.if defined(WITH_LIBICONV)
  USE_ICONV=	yes
 +.else
 +CONFIGURE_ARGS+=	--without-libiconv-prefix 
  .endif
  .if defined(WITH_LIBUSB)
  CONFIGURE_ARGS+=	--with-libusb=${LOCALBASE}
 
 
 Regards,
 Helge
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Thu Aug 3 15:15:01 UTC 2006 
State-Changed-Why:  
Misfiled followup to ports/101311; content migrated. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Thu Aug 3 15:15:01 UTC 2006 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=101322 
>Unformatted:
