PKGDIR ambiguous (was: cvs commit:
src/usr.sbin/pkg_install/info info.h main.c perform.c
pkg_info.1 src/usr.sbin/pkg_install/add add.h main.c
perform.c pkg_add.1 src/usr.sbin/pkg_install/lib lib.h url.c)
Kris Kennaway
kris at obsecurity.org
Mon Aug 21 11:13:44 UTC 2006
On Mon, Aug 21, 2006 at 07:07:53AM -0400, Kris Kennaway wrote:
> On Mon, Aug 21, 2006 at 08:09:45AM +0200, Raphael H. Becker wrote:
> >
> > Hi Florent,
> >
> > PKGDIR is ambiguous in the context of ports and packages.
> >
> > I set PKGDIR=/some/where/my/pkg in my /etc/profile which causes the
> > ports to fail badly creating any packages:
> >
> > It is used in ports/Mk/bsd.port.mk:
> > # PKGDIR - A directory containing any package creation
> > # files.
> > # Default: ${MASTERDIR}
> > [...]
> > PKGDIR?= ${MASTERDIR}
> >
> > Havin set PKGDIR statically is a very bad idea here.
>
> Yes, PKGDIR is incorrect in this usage. The documented place where
> packages are stored is:
>
> # PACKAGES - A top level directory where all packages go (rather than
> # going locally to each port).
> # Default: ${PORTSDIR}/packages
> #
Note that packages are created by 'make package' in *subdirectories*
within this directory, as in the FTP site, i.e. All/, with Latest/,
${CATEGORY}/ links. It would be best to be consistent with that
approach.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20060821/5444716a/attachment.pgp
More information about the cvs-all
mailing list