Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2006 10:42:56 +0100
From:      Florent Thoumie <flz@FreeBSD.org>
To:        "Raphael H. Becker" <rabe@p-i-n.com>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: 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)
Message-ID:  <1156153377.53353.21.camel@mayday.esat.net>
In-Reply-To: <20060821080945.A48690@p-i-n.com>
References:  <200601161951.k0GJpfNx017833@repoman.freebsd.org> <20060821080945.A48690@p-i-n.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, 2006-08-21 at 08:09 +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.

Agreed, the name isn't really well-suited. I seem to recall I've been
advised to use that name because it had the same meaning in ports. I'm
not really sure about that anymore. PKG_CACHEDIR would probably be
better.

> PS: I've googled around^W^Wused Google to search the web but it seems
> there was no bugreport about this? Bug or feature?

Not everything happen via PR.

-- 
Florent Thoumie
flz@FreeBSD.org
FreeBSD Committer

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (FreeBSD)

iD8DBQBE6YAgMxEkbVFH3PQRAoVYAJ9wugdU9sK53fJP6U2VPlBxOrQ3NQCffyQg
IMpr+MKL7Olhhpq45YQgKmU=
=ulqS
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1156153377.53353.21.camel>