Date: Fri, 25 May 2001 23:09:46 +0300 From: Peter Pentchev <roam@orbitel.bg> To: ports@freebsd.org Cc: Brent Verner <brent@rcfile.org>, FUJISHIMA Satsuki <sf@FreeBSD.org> Subject: Re: gcc (cpp) include search path problem Message-ID: <20010525230946.H18002@ringworld.oblivion.bg> In-Reply-To: <20010525150404.A35371@shade.nectar.com>; from n@nectar.com on Fri, May 25, 2001 at 03:04:04PM -0500 References: <20010524055537.A8563@rcfile.org> <20010525225642.D18002@ringworld.oblivion.bg> <20010525150404.A35371@shade.nectar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 25, 2001 at 03:04:04PM -0500, Jacques A. Vidrine wrote:
> [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.
Yes, that, too. I've suggested this in discussion of new ports, too.
CC'd to the ftp/wget port maintainer :)
G'luck,
Peter
--
This sentence claims to be an Epimenides paradox, but it is lying.
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?20010525230946.H18002>
