Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2001 15:04:04 -0500
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        Brent Verner <brent@rcfile.org>, ports@freebsd.org
Subject:   Re: gcc (cpp) include search path problem
Message-ID:  <20010525150404.A35371@shade.nectar.com>
In-Reply-To: <20010525225642.D18002@ringworld.oblivion.bg>; from roam@orbitel.bg on Fri, May 25, 2001 at 10:56:42PM %2B0300
References:  <20010524055537.A8563@rcfile.org> <20010525225642.D18002@ringworld.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
[This is most likely a ports issue, so kicked to -ports]

On Fri, May 25, 2001 at 10:56:42PM +0300, Peter Pentchev wrote:
> On second thoughts, you might have a problem if you are trying to
> install the wget port in a location other than /usr/local.
> If you change PREFIX, then the -I{PREFIX}/include directive would
> point to the location you want to install wget at, not at /usr/local.
> In that case, the proper course of action would be to first install
> the devel/gettext port into the same location (using the same value
> of PREFIX); then, its include files would be in ${PREFIX}/include,
> its libraries would be in ${PREFIX}/lib, and wget would build just fine.

No, this  is not  really correct.   When ports  are looking  for other
installed  ports,  they  should  use  ${LOCALBASE}  or  ${X11BASE}  as
appropriate,  not ${PREFIX}.   In other  words, the  wget port  should
probably  specify  -I${LOCALBASE}/include  instead of/in  addition  to
-I${PREFIX}/include.

Cheers,
-- 
Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@FreeBSD.org

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?20010525150404.A35371>