From owner-freebsd-ports@FreeBSD.ORG Mon May 13 17:43:10 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9A2B5206 for ; Mon, 13 May 2013 17:43:10 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ia0-x22d.google.com (mail-ia0-x22d.google.com [IPv6:2607:f8b0:4001:c02::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 71E4ED00 for ; Mon, 13 May 2013 17:43:10 +0000 (UTC) Received: by mail-ia0-f173.google.com with SMTP id k20so987950iak.4 for ; Mon, 13 May 2013 10:43: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=uX4HR551kcTwp5fzPofpavgODMOjDgYmEEmftBzPpoc=; b=rFEeEnrEUC32J0dI85BcrlbYQzLHaZG2gDMPlFqA6qTjbD/aq4z+sZ5iaBFj+Id4fE j0CTs3OozOKQKiPvUy0gzp3XhpVfYJOHYb/hCCTumaGUAnfZgLBMYGQPnUzeWrNpJEKS aZtPg4cV/jbo/q0fLbfYPOo2PqBoemSR1n2v0GU4wNXxOKuc1nyVvaDfi3ONbC8gOHNC PiA3RjemqYMfo/9RpxRzyDncrTN5skRuQn5iNiSBUccJaDOu8vORZ/fXvM9BV2YWL4Rk 3ES/c+wvgHdaAz/BTXB56DcFcAqITf6lV7MgYP5PUw9RzZ7B1svgOpxq/JOH89m7M6Tx Ornw== X-Received: by 10.50.147.71 with SMTP id ti7mr10994420igb.49.1368466990218; Mon, 13 May 2013 10:43:10 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.64.77.51 with HTTP; Mon, 13 May 2013 10:42:40 -0700 (PDT) In-Reply-To: References: From: Chris Rees Date: Mon, 13 May 2013 18:42:40 +0100 X-Google-Sender-Auth: -L6pIQYodZ4MyBk89f5AIcI5D10 Message-ID: Subject: Re: Adding a C++11 based port To: David Demelier 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: Mon, 13 May 2013 17:43:10 -0000 On 13 May 2013 16:14, David Demelier wrote: > Hello dear, > > I plan to release an application I wrote very soon. If possible I want > to add a port for it. One problem is that I've used C++11 and this is > part of system only if users have compiled world with the new C++ > stack. > > Should I wait until 9.2-RELEASE before requesting that new port? Or is > C++11 only for FreeBSD 10? If it builds and works with gcc46, you can probably do something like .include .if ${OSVERSION} < xxxx # before clang was around USE_GCC= 46+ .endif Chris