From owner-freebsd-ports@FreeBSD.ORG Tue May 19 22:20:39 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4DAAE106566C; Tue, 19 May 2009 22:20:39 +0000 (UTC) (envelope-from dpd@dpdtech.com) Received: from vx1.dpdtech.com (vx1.dpdtech.com [63.246.9.153]) by mx1.freebsd.org (Postfix) with ESMTP id 27C938FC0C; Tue, 19 May 2009 22:20:39 +0000 (UTC) (envelope-from dpd@dpdtech.com) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20080427b; d=dpdtech.com; h=Received:Message-Id:From:To:Content-Type:Content-Transfer-Encoding:Mime-Version:Subject:Date:Cc:X-Mailer:X-Exiscan; b=KsTdYcWxvTrPSacmpZJAJLiqrBSrGjgCo0T8zJwwifGCZ8sM7KVJecTi3Ely9/lIVM80CplEghBosOFaMJyNjsTGDV9bVIm2cum0UCU0j7sF5vG+7HlwgtubzzXuHs2b; Received: from nat-dip4.cfw-a-gci.corp.yahoo.com ([209.131.62.113]:24021 helo=verythough-lm.corp.yahoo.com) by vx1.dpdtech.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1M6XOh-0008ub-PS; Tue, 19 May 2009 17:02:55 -0500 Message-Id: <32770080-404C-485D-B5DE-12F943E241A4@dpdtech.com> From: "David P. Discher" To: gerald@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 19 May 2009 15:05:47 -0700 X-Mailer: Apple Mail (2.930.3) X-Exiscan: Passed Cc: ports@FreeBSD.org Subject: FreeBSD Port: gcc-4.3.4_20090517 - different LOCALBASE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 22:20:40 -0000 So ... I'm trying to do complete source builds of gnome2, kde4, and xorg, with a redefined LOCALBASE = /home/opt > grep opt /etc/make.conf X11BASE=/home/opt LOCALBASE=/home/opt LINUXBASE=/home/opt/compat/linux PREFIX=/home/opt However, need the end, the lang/gcc43 build fails, with missing iconv.h. I've saw in the check in logs, back a few years that configure for gcc had some issues finding iconv.h when it was in a difference LOCALBASE. So adding the following to the lang/gcc43/ Makefile fixed the issue: CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib CPPFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib CXXFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib Probably over kill, but was getting feed up on the build failing. This isn't likely the correct fix, but wondering what the correct fix is, and if the port can be fixed ? Thanks ! ----------------------------------------------------------------------- David P. Discher * * C: 408.368.3725 * AIM: DavidDPD | Y!M: daviddpdz * H: 408.541.0159 -----------------------------------------------------------------------