Subject: pkglint complaint
To: None <tech-pkg@netbsd.org>
From: Klaus Heinz <klaus.heinz@onlinehome.de>
List: tech-pkg
Date: 04/19/2002 20:55:00
Hi,

pkglint complains about this order

  DISTNAME=
  PKGNAME=
  SVR4_PKGNAME=
  CATEGORIES=
  #MASTER_SITES=
  MASTER_SITES=

  MAINTAINER=
  HOMEPAGE=
  COMMENT=

  DEPENDS+=

  USE_BUILDLINK_ONLY=

with

  OK: checking Makefile.
  OK: including ./../../lang/perl5/buildlink.mk
  WARN: "DEPENDS" has to appear earlier in Makefile.
  OK: checking ./PLIST.
  OK: checking ./DESCR.
  OK: checking ./MESSAGE.
  

If I move the DEPENDS line, I get complaints about 
  FATAL: extra item "DEPENDS" placed in the MAINTAINER section

  $ ident /usr/pkg/bin/pkglint
  /usr/pkg/bin/pkglint:
       $NetBSD: pkglint.pl,v 1.63 2001/11/29 01:56:37 hubertf Exp $


Should I heed this warning ? How ?

Another complaint is

  WARN: possible use of absolute pathname "/etc/mail...", in ./MESSAGE

This pathname in the MESSAGE file is used intentionally. Should I ignore
the warning ?

ciao
     Klaus