From owner-freebsd-ports@FreeBSD.ORG Thu Apr 26 08:56:55 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 0D3E8106564A for ; Thu, 26 Apr 2012 08:56:55 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 56D408FC12 for ; Thu, 26 Apr 2012 08:56:54 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA21972; Thu, 26 Apr 2012 11:56:51 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1SNKVP-0003Qq-60; Thu, 26 Apr 2012 11:56:51 +0300 Message-ID: <4F990D9A.3090100@FreeBSD.org> Date: Thu, 26 Apr 2012 11:55:54 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:11.0) Gecko/20120420 Thunderbird/11.0.1 MIME-Version: 1.0 To: bf1783@gmail.com References: <4F578AA7.4060008@FreeBSD.org> In-Reply-To: <4F578AA7.4060008@FreeBSD.org> X-Enigmail-Version: 1.4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "b. f." , 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, 26 Apr 2012 08:56:55 -0000 on 07/03/2012 18:19 Andriy Gapon said the following: > on 07/03/2012 14:11 b. f. said the following: >> 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 And an additional problem with this recommendation is that if a port has e.g. USE_GCC=4.2+ in its Makefile, then the user setting gets overridden (at least if it's in make.conf). So a better way to ask for gcc46+ is needed. > BTW, our traditional taxonomy seems to be: "USE_XXX" is for stuff that ports > really require, "WITH_XXX" is for user preferences. > So it might make sense to create a WITH_GCC knob specifically for the use that you > suggested above. > -- Andriy Gapon