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>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-56gqJeAxDsVNwg7xe5fQ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2006-08-21 at 08:09 +0200, Raphael H. Becker wrote: > Hi Florent, >=20 > PKGDIR is ambiguous in the context of ports and packages. >=20 > I set PKGDIR=3D/some/where/my/pkg in my /etc/profile which causes the > ports to fail badly creating any packages: >=20 > It is used in ports/Mk/bsd.port.mk: > # PKGDIR - A directory containing any package creation > # files. > # Default: ${MASTERDIR} > [...] > PKGDIR?=3D ${MASTERDIR} >=20 > 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. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --=-56gqJeAxDsVNwg7xe5fQ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBE6YAgMxEkbVFH3PQRAoVYAJ9wugdU9sK53fJP6U2VPlBxOrQ3NQCffyQg IMpr+MKL7Olhhpq45YQgKmU= =ulqS -----END PGP SIGNATURE----- --=-56gqJeAxDsVNwg7xe5fQ--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1156153377.53353.21.camel>