From owner-freebsd-ports Thu Mar 22 0: 0:38 2001 Delivered-To: freebsd-ports@freebsd.org Received: from ringworld.nanolink.com (ringworld.nanolink.com [195.24.48.13]) by hub.freebsd.org (Postfix) with SMTP id B839D37B71D for ; Thu, 22 Mar 2001 00:00:26 -0800 (PST) (envelope-from roam@orbitel.bg) Received: (qmail 82370 invoked by uid 1000); 22 Mar 2001 07:59:23 -0000 Date: Thu, 22 Mar 2001 09:59:23 +0200 From: Peter Pentchev To: David O'Brien Cc: FUJISHIMA Satsuki , ports@FreeBSD.org Subject: Re: What is the right way to get mkfontdir usable? Message-ID: <20010322095923.B11969@ringworld.oblivion.bg> Mail-Followup-To: David O'Brien , FUJISHIMA Satsuki , ports@FreeBSD.org References: <20010312123634.A27284@dragon.nuxi.com> <86wv9u4r14.wl@cheerful.com> <20010312174145.A32967@dragon.nuxi.com> <86r9014sz4.wl@cheerful.com> <20010314191130.B4011@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010314191130.B4011@dragon.nuxi.com>; from obrien@FreeBSD.org on Wed, Mar 14, 2001 at 07:11:31PM -0800 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Mar 14, 2001 at 07:11:31PM -0800, David O'Brien wrote: > On Tue, Mar 13, 2001 at 11:57:19PM +0900, FUJISHIMA Satsuki wrote: > > In accordance with src/usr.sbin/pkg_install/add/main.c, /usr/X11R6/bin > > is not included in PATH during pkg_add running. Therefore mkfontdir > > should be run with full path. This works for me. > > > > grep -r /bin: /usr/src/usr.sbin/pkg_install/ > > /usr/src/usr.sbin/pkg_install/add/main.c: setenv("PATH", "/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin", 1); > > Strange that /usr/local/bin is there and /usr/X11R6/bin isn't. Should > that be changed? I wonder if pkg_add should be changed to just add %D/bin to the path; alternatively, yes, I think it should add both /usr/local/bin and /usr/X11R6/bin. Or it could add all three :) G'luck, Peter -- because I didn't think of a good beginning of it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message