pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/32006



Synopsis: lintpkgsrc should assume /usr/pkgsrc if it matches PKGSRCDIR

Responsible-Changed-From-To: interix-pkg-people->pkg-manager
Responsible-Changed-By: tv%netbsd.org@localhost
Responsible-Changed-When: Mon, 07 Nov 2005 17:56:45 +0000
Responsible-Changed-Why:
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.






Home | Main Index | Thread Index | Old Index