Subject: Re: pkg/32006
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 11/07/2005 17:56:47
Synopsis: lintpkgsrc should assume /usr/pkgsrc if it matches PKGSRCDIR
Responsible-Changed-When: Mon, 07 Nov 2005 17:56:45 +0000
This is due to pkgtools/pkglint hardcoding the location of pkgsrc
directly into its scripts. I'll put in a workaround by defining
_PKGSRCDIR explicitly in my build environment and rebuild the pkglint
package for Interix.
I have changed the synopsis to reflect the actual cause of this pain.
The pkgsrc infrastructure (or just the packages that need to embed
PKGSRCDIR, if there are any beyond pkglint, pkg_chk, etc.) should accept
a symlinked /usr/pkgsrc properly -- by detecting if /usr/pkgsrc matches
the computed _PKGSRCDIR value. Personally, I believe all these scripts
should use the fixed location /usr/pkgsrc as a default regardless of
the build environment, and provide an option to point somewhere else.