Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 17:40:06 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/pkg_install/add main.c
Message-ID:  <20010425174006.A92155@dragon.nuxi.com>
In-Reply-To: <3723727A.F6B81FD1@FreeBSD.org>; from sobomax@FreeBSD.org on Sun, Apr 25, 1999 at 10:52:26PM %2B0300
References:  <200104251911.f3PJBAv31212@freefall.freebsd.org> <3723727A.F6B81FD1@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 25, 1999 at 10:52:26PM +0300, Maxim Sobolev wrote:
> >   Modified files:
> >     usr.sbin/pkg_install/add main.c
> >   Log:
> >   Add /usr/X11R6/bin to the exported PATH.  If /usr/local/bin is there,
> >   /usr/X11R6/bin should be there.  This helps all the ports that need to
> >   run `mkfontdir' and error out as many port maintainers do not realize
> >   `mkfontdir' isn't in the path.
> 
> Please note that the /usr/local/bin was added for entirely different purpose
> - it is necessary in order to find bzip2 command when we using tbz2
> packages.In my view addition of /usr/X11R6/bin is superfluous and would only
> promote bad poring practices.

In general I agree, but the problem is only PKG_PREFIX is available in a
pkg-install script.  LOCALBASE and X11BASE aren't visable.  So the only
choice is to hardcode the path in there; or here.

-- 
-- David  (obrien@FreeBSD.org)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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