Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 23:57:19 +0900
From:      FUJISHIMA Satsuki <sf@FreeBSD.org>
To:        obrien@FreeBSD.org
Cc:        ports@FreeBSD.org
Subject:   Re: What is the right way to get mkfontdir usable?
Message-ID:  <86r9014sz4.wl@cheerful.com>
In-Reply-To: <20010312174145.A32967@dragon.nuxi.com>
References:  <20010312123634.A27284@dragon.nuxi.com> <86wv9u4r14.wl@cheerful.com> <20010312174145.A32967@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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