Subject: pkg/9771: pkglint is wrong about usage of EXTRACT_SUFX
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.zhadum.de>
List: netbsd-bugs
Date: 04/04/2000 05:30:10
>Number:         9771
>Category:       pkg
>Synopsis:       pkglint is wrong about usage of EXTRACT_SUFX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 04 05:31:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Scheler
>Release:        2000/04/04
>Organization:
Matthias Scheler                            http://www.sighardstrasse.de/~tron/
>Environment:
System: NetBSD lyssa.zhadum.de 1.4X NetBSD 1.4X (LYSSA) #0: Tue Apr 4 13:59:53 CEST 2000 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386


>Description:
The "Makefile" of the "Mesag" package contains these lines:

EXTRACT_SUFX=   .tar.bz2
DISTFILES=      MesaLib-3.1${EXTRACT_SUFX} \
                MesaDemos-3.1${EXTRACT_SUFX}

"pkglint -a -v" rints a warning about them:

WARN: no need to define EXTRACT_SUFX if DISTFILES is defined.

This statement is wrong. If EXTRACT_SUFX is not defined "bsd.pkg.mk" won't use
"bzip2" instead of "gzip". NetBSD-current's "gzip" can handle ".bz2" files,
NetBSD 1.4's can't.

>How-To-Repeat:
cd pkgsrc/graphics/Mesa
pkglint -a -v

>Fix:
Sorry, but I'm not a perl expert.
>Release-Note:
>Audit-Trail:
>Unformatted: