From nobutaka@nobutaka.com  Wed Feb  9 07:19:54 2000
Return-Path: <nobutaka@nobutaka.com>
Received: from narcissus.pel.sys.hiroshima-u.ac.jp (ppp-saijo-134.ipc.hiroshima-u.ac.jp [133.41.4.134])
	by builder.freebsd.org (Postfix) with ESMTP id 271EF4027
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  9 Feb 2000 07:19:51 -0800 (PST)
Received: from triton.nobutaka.com (localhost [127.0.0.1])
	by triton.nobutaka.com (8.9.3/8.9.3) with ESMTP id AAA42684;
	Thu, 10 Feb 2000 00:17:23 +0900 (JST)
	(envelope-from nobutaka@nobutaka.com)
Message-Id: <86bt5qe77h.wl@triton.nobutaka.com>
Date: Thu, 10 Feb 2000 00:17:22 +0900
From: MANTANI Nobutaka <nobutaka@nobutaka.com>
To: sec@42.org
Cc: FreeBSD-gnats-submit@freebsd.org
In-Reply-To: In your message of "Wed, 9 Feb 2000 01:04:10 +0100 (CET)"
	<200002090004.BAA78937@btl.42.org>
Subject: Re: w3m-ssl fails on 3.4-stable [non-usa]
References: <200002090004.BAA78937@btl.42.org>

>Number:         16610
>Category:       ports
>Synopsis:       Re: w3m-ssl fails on 3.4-stable [non-usa]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb  9 07:20:00 PST 2000
>Closed-Date:    Sun Feb 13 11:29:18 PST 2000
>Last-Modified:  Sun Feb 13 11:30:53 PST 2000
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 At Wed, 9 Feb 2000 01:04:10 +0100 (CET),
 Stefan `Sec` Zehl <sec@42.org> wrote:
 > 
 > On a recent 3.4-STABLE:
 > FreeBSD btl 3.4-STABLE FreeBSD 3.4-STABLE #1: Tue Feb  8 18:11:06 CET 2000     root@btl:/usr/src/sys/compile/BTL  i386
 > 
 > with this in /etc/make.conf:
 > # If you're resident in the USA, this will help various ports to determine
 > USA_RESIDENT=		NO
 > 
 > >Description: 
 > 
 > The w3m-ssl build fails with:
 > 
 > [...]
 > cc -O -pipe  -I/usr/local/include/openssl -I/usr/local/include -I/usr/local/include -I. -o mktable mktable.o hash.o  -L/usr/local/lib -lssl -lcrypto -lRSAglue -lrsaref -L/usr/local/lib -L. -lindep -lgc -lm  -lncurses
 > /usr/libexec/elf/ld: cannot open -lrsaref: No such file or directory
 > *** Error code 1
 
 Please apply this patch.
 
 
 diff -urN w3m.old/Makefile w3m/Makefile
 --- w3m.old/Makefile	Wed Feb  9 23:10:34 2000
 +++ w3m/Makefile	Thu Feb 10 00:11:59 2000
 @@ -50,9 +50,12 @@
  SED_CMD+=	-e "s,undef USE_SSL,define USE_SSL,g"
  .endif
  
 -EXTRA_SSL_LIBS=	-lRSAglue -lrsaref -L${LOCALBASE}/lib 
 +.if ${USE_OPENSSL} == RSA && defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
 +EXTRA_SSL_LIBS=	-lRSAglue -lrsaref
 +.endif
 +
  MAKE_FLAGS+=	DEFS="${SSL_CFLAGS} -I${LOCALBASE}/include" \
 -		LIBS="${SSL_LIBS} ${EXTRA_SSL_LIBS}"
 +		LIBS="${SSL_LIBS} ${EXTRA_SSL_LIBS} -L${LOCALBASE}/lib"
  
  post-configure:
  	@${CP} ${TARGET} ${TARGET}.in
 
 
 Thanks,
 
 -Nobutaka
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Feb 13 11:29:18 PST 2000 
State-Changed-Why:  
Duplicate of ports/16614. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports 
Responsible-Changed-By: steve 
Responsible-Changed-When: Sun Feb 13 11:29:18 PST 2000 
Responsible-Changed-Why:  
Misfiled PR. 
>Unformatted:
