From owner-cvs-src@FreeBSD.ORG Mon Aug 21 09:43:10 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9084516A4E0; Mon, 21 Aug 2006 09:43:10 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp2-g19.free.fr (smtp2-g19.free.fr [212.27.42.28]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BFED43D55; Mon, 21 Aug 2006 09:42:54 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp2-g19.free.fr (Postfix) with ESMTP id 245D275BAB; Mon, 21 Aug 2006 11:42:54 +0200 (CEST) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id 6913A11645; Mon, 21 Aug 2006 11:42:53 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 26075-03; Mon, 21 Aug 2006 11:42:42 +0200 (CEST) Received: from mayday.esat.net (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id 0FDBE115E3; Mon, 21 Aug 2006 11:42:41 +0200 (CEST) From: Florent Thoumie To: "Raphael H. Becker" In-Reply-To: <20060821080945.A48690@p-i-n.com> References: <200601161951.k0GJpfNx017833@repoman.freebsd.org> <20060821080945.A48690@p-i-n.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-56gqJeAxDsVNwg7xe5fQ" Date: Mon, 21 Aug 2006 10:42:56 +0100 Message-Id: <1156153377.53353.21.camel@mayday.esat.net> Mime-Version: 1.0 X-Mailer: Evolution 2.6.3 FreeBSD GNOME Team Port X-Virus-Scanned: amavisd-new at xbsd.org 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) X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Aug 2006 09:43:10 -0000 --=-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--