Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 1999 01:34:00 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        "David E. O'Brien" <obrien@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:  <37239858.A427E4FD@FreeBSD.org>
References:  <200104251911.f3PJBAv31212@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"David E. O'Brien" wrote:

> obrien      2001/04/25 12:11:09 PDT
>
>   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 /usr/local/bin was added into exported PATH for entirely
different purposes. In some cases it might be necessary for tar(1) to find
bzip2(1) command when working with bzip2-compressed packages. IMO, addition
of the /usr/X11R6/bin into there serves no useful purpose, and could be ever
harmful as it will encourage bad porting practices. It would be better to
fix the real source of the problem, especially considering that the not
PATH-clean ports could be easily identified by greping PLISTS in the ports
collection using standard tools.

-Maxim


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?37239858.A427E4FD>