From owner-freebsd-ports@FreeBSD.ORG Thu Mar 8 03:47:05 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E6CE1065672 for ; Thu, 8 Mar 2012 03:47:05 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (pancho.soaustin.net [76.74.250.40]) by mx1.freebsd.org (Postfix) with ESMTP id E307D8FC08 for ; Thu, 8 Mar 2012 03:47:04 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 6CA0956239; Wed, 7 Mar 2012 21:47:04 -0600 (CST) Date: Wed, 7 Mar 2012 21:47:04 -0600 From: Mark Linimon To: bf1783@gmail.com Message-ID: <20120308034704.GD16364@lonesome.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Gautam , dinoex@freebsd.org, freebsd-ports@freebsd.org Subject: Re: graphics/png does not build with lang/gcc 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: Thu, 08 Mar 2012 03:47:05 -0000 On Wed, Mar 07, 2012 at 12:11:52PM +0000, b. f. wrote: > The custom gcc article that you are attempting to use was written at > a time when some of the related port Makefiles had some shortcomings > that no longer exist, and is not the recommended way to use lang/gcc* > for ports. Would you be interested in helping to update it? > For all but a handful of ports that lang/gcc* depends upon, or > those that don't respect the toolchain-related variables, you can just > install lang/gcc or lang/gcc46 and set USE_GCC=4.6 in your build > environment, an included Makefile, or on the command line. Setting USE_* in e.g. /etc/make.conf is always incorrect, see: http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html#USE-VARS You can wind up in the degenerate case maknig gcc46 depend upon itself. mcl