Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jan 2005 00:12:54 +0100
From:      Jeremie Le Hen <jeremie@le-hen.org>
To:        freebsd-ports@freebsd.org
Cc:        jeremie@le-hen.org
Subject:   Re: Bad $PATH for X11 ports
Message-ID:  <20050116231254.GJ36629@obiwan.tataz.chchile.org>
In-Reply-To: <20050116225230.GI36629@obiwan.tataz.chchile.org>
References:  <20050116225230.GI36629@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> I already have imake-6 installed on my system but while installing Xorg,
> I saw the following:
> 
> ===>   xorg-libraries-6.8.1_1 depends on executable: imake - not found
> 
> In fact, I didn't have /usr/X11R6/bin in my $PATH.  I think this is a
> kind of bug, since imake is found when I change my $PATH.
> 
> Is it really a correct behaviour to rely on $PATH to look for programs
> used to not be located in standard $PATH directories ?

Just to illustrate the problem, here is what I get :

mplayer# echo $PATH
/root/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
mplayer# portupgrade -f mplayer\*
[...]
===>   mplayer-0.99.5_6 depends on executable: imake - not found
===>    Verifying install for imake in /usr/ports/devel/imake-6
===>  Extracting for imake-6.8.1
[...]
===>  Configuring for imake-6.8.1
[...]
===>  Installing for imake-6.8.1
===>   imake-6.8.1 depends on file: /usr/local/bin/perl5.8.5 - found
===>   Generating temporary packing list
===>  Checking if devel/imake-6 already installed
===>   imake-6.8.1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of devel/imake-6
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.

-- 
Jeremie Le Hen
jeremie@le-hen.org



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