From owner-freebsd-ports@FreeBSD.ORG Sat Mar 16 16:07:11 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C4F63687 for ; Sat, 16 Mar 2013 16:07:11 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 97670365 for ; Sat, 16 Mar 2013 16:07:11 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id 9so5566731iec.4 for ; Sat, 16 Mar 2013 09:07:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=/mTBpGdZRa8kQ0oDlrdaSJESK1JL+GH9JhSWJz2tO3g=; b=xErTVM5lZuG1ZADWKZY+/vdSb4EUaLp72MmzeUX1ha+/D+4zDRmPDHcoo9hbPTZ/Bi pswtApXbn12tIWe9Z+cYnP2NrwLlRPNU4iZUlw3+37DN0q50UywZXhEeRyjLeXUCqo3v iuAgw2famW5l6x+2pgxE7/FZZupuVtEqqc6OscLh1L44utzH/0noc1A9J5oI/hy/MkDh 8JL1Hujf250QqJ34aOUNdfA79e/VGxmfdMBm7ntXtSL1DFbkkloXwN0HkZrDv3+JWYEG hjGmf3so9ROYjr9p8ymvbBKhi3loSI+EipLWd/9ijWXijajzGY55/T+GH3C6SsuUU1Li MMdg== X-Received: by 10.50.197.170 with SMTP id iv10mr3496157igc.62.1363450030151; Sat, 16 Mar 2013 09:07:10 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.64.63.12 with HTTP; Sat, 16 Mar 2013 09:06:40 -0700 (PDT) In-Reply-To: <1363447339256-5796071.post@n5.nabble.com> References: <1363438889978-5796040.post@n5.nabble.com> <1363443540656-5796061.post@n5.nabble.com> <1363443707095-5796064.post@n5.nabble.com> <1363444658690-5796066.post@n5.nabble.com> <1363446444086-5796069.post@n5.nabble.com> <1363447339256-5796071.post@n5.nabble.com> From: Chris Rees Date: Sat, 16 Mar 2013 16:06:40 +0000 X-Google-Sender-Auth: 5R0Sl7mHC2vBZRL3RawEXDQ7Ab4 Message-ID: Subject: Re: How can I switch compiler from clang to gcc46? To: Beeblebrox Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2013 16:07:11 -0000 On 16 March 2013 15:22, Beeblebrox wrote: > I just remembered: The last time I tried to compile this, I was on 9-STABLE > as I recall and I did not have any of the specific problems I am running > into now. Everything went much more smoothly back then. The way I've always used gcc to compile ports is to use the USE_GCC=any flag. Don't put that unconditionally in make.conf however, or you will break everything because of circular dependencies; either use something like: .if ${.CURDIR:M*/category/port} USE_GCC=any .endif or use it on the command line. Don't forget to make clean first. Chris