From owner-freebsd-hackers Fri May 25 13: 6:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from gw.nectar.com (gw.nectar.com [208.42.49.153]) by hub.freebsd.org (Postfix) with ESMTP id 5E77E37B423; Fri, 25 May 2001 13:06:25 -0700 (PDT) (envelope-from nectar@nectar.com) Received: from shade.nectar.com (gw.nectar.com [208.42.49.153]) by gw.nectar.com (Postfix) with ESMTP id 6CA7618C9B; Fri, 25 May 2001 15:06:24 -0500 (CDT) Received: (from nectar@localhost) by shade.nectar.com (8.11.3/8.11.3) id f4PK5Jg35402; Fri, 25 May 2001 15:05:19 -0500 (CDT) (envelope-from nectar) Date: Fri, 25 May 2001 15:04:04 -0500 From: "Jacques A. Vidrine" To: Peter Pentchev Cc: Brent Verner , ports@freebsd.org Subject: Re: gcc (cpp) include search path problem Message-ID: <20010525150404.A35371@shade.nectar.com> Reply-To: ports@freebsd.org References: <20010524055537.A8563@rcfile.org> <20010525225642.D18002@ringworld.oblivion.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010525225642.D18002@ringworld.oblivion.bg>; from roam@orbitel.bg on Fri, May 25, 2001 at 10:56:42PM +0300 X-Url: http://www.nectar.com/ Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [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-hackers" in the body of the message