Subject: pkg/8350: pkglint is giving erronious sugestions
To: None <gnats-bugs@gnats.netbsd.org>
From: None <johnam@mail.kemper.org>
List: netbsd-bugs
Date: 09/09/1999 11:40:27
>Number:         8350
>Category:       pkg
>Synopsis:       pkglint is giving erronious sugestions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep  9 11:35:06 1999
>Last-Modified:
>Originator:     John A. Maier
>Organization:
John A. Maier
Kemper Military School and College
Director of MIS
Voice: 660-882-5623
Fax: 660-882-3778
Email: johnam@mail.kemper.org
Web: http://www.kemper.org
>Release:        <NetBSD-current source date>
>Environment:
	
System: NetBSD johnam.kemper.org 1.4.1 NetBSD 1.4.1 (CADET) #0: Thu Sep 2 09:40:32 CDT 1999 root@cadet2:/usr/src/sys/arch/i386/compile/CADET i386


>Description:
	pkgling give bad advice if you make ftp://sunsite.unc.edu your MASTER_SITE
>How-To-Repeat:
In package Makefile:
MASTER_SITES=           ftp://sunsite.unc.edu/pub/Linux/X11/demos/   

run pkglint

pkglint will report: WARN: how about using ${MASTER_SITE_SUNSITE}
with "MASTER_SITE_SUBDIR=X11/demos", instead of 
"ftp://sunsite.unc.edu/pub/Linux/X11/demos/? 

And if you take it's avdvise and then do a make, the make will fail
complaining that:
MASTER_SITE_SUBDIR is deprecated and must be replaced with MASTER_SITES

>Fix:
Do use sugest using MASTER_SITE_SUBDIR
>Audit-Trail:
>Unformatted: