From owner-freebsd-ports Tue Mar 13 6:57:36 2001 Delivered-To: freebsd-ports@freebsd.org Received: from m08.alpha-net.ne.jp (m08.alpha-net.ne.jp [210.229.64.38]) by hub.freebsd.org (Postfix) with ESMTP id 8428A37B724; Tue, 13 Mar 2001 06:57:31 -0800 (PST) (envelope-from sf@FreeBSD.org) Received: from kyoto-tc012-p132.alpha-net.ne.jp (kyoto-tc012-p132.alpha-net.ne.jp [210.237.118.166]) by m08.alpha-net.ne.jp (8.9.3/3.7W) with ESMTP id XAA16381; Tue, 13 Mar 2001 23:57:23 +0900 (JST) Received: from souffle.bogus-local.net (localhost [::1]) by kyoto-tc012-p132.alpha-net.ne.jp (Postfix) with ESMTP id 8434516B56; Tue, 13 Mar 2001 23:57:19 +0900 (JST) Date: Tue, 13 Mar 2001 23:57:19 +0900 Message-ID: <86r9014sz4.wl@cheerful.com> From: FUJISHIMA Satsuki To: obrien@FreeBSD.org Cc: ports@FreeBSD.org Subject: Re: What is the right way to get mkfontdir usable? In-Reply-To: <20010312174145.A32967@dragon.nuxi.com> References: <20010312123634.A27284@dragon.nuxi.com> <86wv9u4r14.wl@cheerful.com> <20010312174145.A32967@dragon.nuxi.com> User-Agent: Wanderlust/2.4.0 (Rio) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.1 (AOI) MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At Mon, 12 Mar 2001 17:41:45 -0800, David O'Brien wrote: > Perhaps I should have been more speific -- with the stock non-port > XFree86 3.3.6. Satoshi does not build ports using XFree 4.x. Bento builds with V3 and V4 by turns. But this time you are correct, bento builds with 3.3.6_7. 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); -- FUJISHIMA Satsuki Index: pkg-install =================================================================== RCS file: /home/ncvs/ports/vietnamese/vnxfonts/pkg-install,v retrieving revision 1.1 diff -u -r1.1 pkg-install --- pkg-install 2001/02/10 23:21:00 1.1 +++ pkg-install 2001/03/13 14:50:25 @@ -5,4 +5,4 @@ fi cd ${PKG_PREFIX}/lib/X11/fonts/vietnamese -mkfontdir >/dev/null 2>&1 +${PKG_PREFIX}/bin/mkfontdir >/dev/null 2>&1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message