From nobody@FreeBSD.ORG Mon Mar  1 00:34:50 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 8C20C15185; Mon,  1 Mar 1999 00:34:50 -0800 (PST)
Message-Id: <19990301083450.8C20C15185@hub.freebsd.org>
Date: Mon,  1 Mar 1999 00:34:50 -0800 (PST)
From: hokada@isl.melco.co.jp
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: ja-weblint97 cannot find default perl libraries
X-Send-Pr-Version: www-1.0

>Number:         10320
>Category:       ports
>Synopsis:       ja-weblint97 cannot find default perl libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar  1 00:40:01 PST 1999
>Closed-Date:    Fri Mar 12 22:41:08 PST 1999
>Last-Modified:  Fri Mar 12 22:41:27 PST 1999
>Originator:     Hideaki Okada
>Release:        3.1-RELEASE i386
>Organization:
MITSUBISHI Electric
>Environment:
FreeBSD waikiki.isl.melco.co.jp 3.1-RELEASE FreeBSD 3.1-RELEASE #5: Sat Feb 20 01:25:27 JST 1999
 hokada@waikiki.isl.melco.co.jp:/usr/src/sys/compile/WAIKIKI i386
>Description:
When jweblint(japanese/ja-weblint97) is invoked on 3.1R environment,
it cannot find perl5's default libraries like newgetopt.pl .

At line 282 it overwrites perl's default library search path,
    @INC = ('/usr/share/perl','/usr/local/lib/perl');
and '/usr/share/perl` is not a default library path for /usr/bin/perl on 3.1R .

>How-To-Repeat:
The problem occurs always when jweblint is invoked on (fresh) 3.1R environment.
I don't know how it behaves when another perl is installed from port/package, 
but it would not work.

>Fix:
The statement at line 282 is modified by patch-ab,
    @INC = ('/usr/share/perl', '%PERLLIBDIR%');
this should be
    @INC = ( @INC, '%PERLLIBDIR%' );


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: taoka 
State-Changed-When: Fri Mar 12 22:41:08 PST 1999 
State-Changed-Why:  
committed, thanks! 
>Unformatted:
