Date: Wed, 7 Mar 2012 21:47:04 -0600 From: Mark Linimon <linimon@lonesome.com> To: bf1783@gmail.com Cc: Gautam <list@execve.net>, dinoex@freebsd.org, freebsd-ports@freebsd.org Subject: Re: graphics/png does not build with lang/gcc Message-ID: <20120308034704.GD16364@lonesome.com> In-Reply-To: <CAGFTUwPUFdP=Z20%2BbL59qFuh_V6R1R-GcyrK03dxESL6ZyGz7A@mail.gmail.com> References: <CAGFTUwPUFdP=Z20%2BbL59qFuh_V6R1R-GcyrK03dxESL6ZyGz7A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120308034704.GD16364>