From owner-freebsd-ports@FreeBSD.ORG Wed Mar 7 22:39:08 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 A123C1065676; Wed, 7 Mar 2012 22:39:08 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 105998FC0C; Wed, 7 Mar 2012 22:39:07 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so5896232wgb.31 for ; Wed, 07 Mar 2012 14:39:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=zgmDC1MBWQBdV+xvrjQ8yeExiSivMZVDYum9XF0t17s=; b=fjUP0GXlyvtoRN/MNi9H1vrwIQFWh0frWjM5rZnMlaoPc2cOB0lTMXOC1cvXWrgtZS Psw+eK5tXAbzgkxtRja++mQj356jy2KsMAMGtkBA+bp04o8FDO6MMI4ttXn1bBiSnpr2 F9v+gDl84jUfVlfIq5+dzlvu5hdqcPCEj6odogvrOzufkIJyNrPLGoLt4OlmPkHHFUi+ qmZIsYgZseKsgA7MpeDwokdy511Blk2RfeeKdbe6TzIJa5Q/kMZYcssrqgWOkEV6zoMk e5ZihHVgr+WKbPNXcSHNVEKG9oK+ZgHRhqRy8bVr0lxXW1ILjAwUfDPFXxEsezDo66gw RXJA== MIME-Version: 1.0 Received: by 10.180.100.33 with SMTP id ev1mr8790234wib.3.1331159947186; Wed, 07 Mar 2012 14:39:07 -0800 (PST) Received: by 10.180.94.42 with HTTP; Wed, 7 Mar 2012 14:39:07 -0800 (PST) In-Reply-To: <4F578AA7.4060008@FreeBSD.org> References: <4F578AA7.4060008@FreeBSD.org> Date: Wed, 7 Mar 2012 22:39:07 +0000 Message-ID: From: "b. f." To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: 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 Reply-To: bf1783@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 22:39:08 -0000 On 3/7/12, Andriy Gapon wrote: > 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 > > 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. Yes, that is a reasonable suggestion, not only for lang/gcc*, but also for a few other compilers. But I think that before such a user-configurable knob can be introduced, with an implied promise of support for it, several outstanding problems with the widespread use of such a knob need to be addressed -- for example, the (still) pending fixes to USE_BINUTILS, changes to the compiler configurations (to fix things like PIE and stack protection), changes to the use of libtool, and introduction of periodic checks to find and fix ports that don't respect the toolchain variables. b.