Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2013 18:42:40 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        David Demelier <demelier.david@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Adding a C++11 based port
Message-ID:  <CADLo839=BFRWyfwTDSC3Ai-xoSzOayJqrNu7ey4hujcxV1VtZg@mail.gmail.com>
In-Reply-To: <CAO%2BPfDfLVzP5KPcsPzQWEfDa4EHomCjLGz9WUob6Y54AXkZVJg@mail.gmail.com>
References:  <CAO%2BPfDfLVzP5KPcsPzQWEfDa4EHomCjLGz9WUob6Y54AXkZVJg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 May 2013 16:14, David Demelier <demelier.david@gmail.com> 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 <bsd.port.options.mk>

.if ${OSVERSION} < xxxx # before clang was around
USE_GCC= 46+
.endif

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839=BFRWyfwTDSC3Ai-xoSzOayJqrNu7ey4hujcxV1VtZg>