From owner-freebsd-ports@freebsd.org Fri May 6 21:35:41 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D1395B2DF81 for ; Fri, 6 May 2016 21:35:41 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) Received: from taro-1.utanet.at (taro.utanet.at [IPv6:2001:938:1337:25::25:45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92365181F for ; Fri, 6 May 2016 21:35:41 +0000 (UTC) (envelope-from w.schwarzenfeld@utanet.at) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=utanet.at; s=rev1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Subject:References:To; bh=dmlfBmCBqjrPIW7tLQ1XAtF0Ata59GvY9OR8oJxNSPg=; b=ps6xCVXeejgsTeSBIKoVsbtwHeJYItvQWb+YrCUzGGOHEiBKEVdgkr9SCcKSo15oEumFZlpeGl8uzIFSyrWDyRAMr3+T6n5/j8aVzG2zg0ckn+EFJG3GNMdo642QMZy1YAQuZBnAsm9D7pC7EMdEFRreYKYYmQbbLLdFMTCKJlY=; Received: from patricia.xoc.tele2net.at ([213.90.36.9]) by taro.utanet.at with esmtp (Exim 4.80) (envelope-from ) id 1aynPO-0005Nv-Au for freebsd-ports@freebsd.org; Fri, 06 May 2016 23:35:38 +0200 Received: from 62-47-168-139.adsl.highway.telekom.at ([62.47.168.139] helo=[10.0.0.93]) by patricia.xoc.tele2net.at with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1aynPO-00067v-8v for freebsd-ports@freebsd.org; Fri, 06 May 2016 23:35:38 +0200 To: freebsd-ports@freebsd.org References: <572CC375.4020501@missouri.edu> Subject: Re: Help with making a port C11 compliant From: Walter Schwarzenfeld Message-ID: <5d447285-1fef-6921-442e-3ab60b6ed7fc@utanet.at> Date: Fri, 6 May 2016 23:35:36 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: <572CC375.4020501@missouri.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 21:35:41 -0000 Write in the Makefiles of math/cln and math/GiNaC USE_GCC= 4.7 (you can also use 4.8 or 5) and CXXFLAGS+= -D_GLIBCXX_USE_C99 I have tested it with 4.7 and 5 in the port and with gcc5 with poudriere in a 93amd64 jail (the test with 4.7 is running in the moment). And it builds fine.