From owner-cvs-all Wed Apr 25 17:40:19 2001 Delivered-To: cvs-all@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [209.152.133.57]) by hub.freebsd.org (Postfix) with ESMTP id 6D7BB37B443; Wed, 25 Apr 2001 17:40:15 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.3/8.11.1) id f3Q0eF592180; Wed, 25 Apr 2001 17:40:15 -0700 (PDT) (envelope-from obrien) Date: Wed, 25 Apr 2001 17:40:06 -0700 From: "David O'Brien" To: Maxim Sobolev 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> Reply-To: obrien@FreeBSD.org References: <200104251911.f3PJBAv31212@freefall.freebsd.org> <3723727A.F6B81FD1@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3723727A.F6B81FD1@FreeBSD.org>; from sobomax@FreeBSD.org on Sun, Apr 25, 1999 at 10:52:26PM +0300 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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