Date: Sun, 26 Oct 2014 18:11:37 +0200 (EET) From: "M. P." <freebsd@abv.bg> To: ports@freebsd.org Subject: Re: Make a port build only on 10-RELEASE or later Message-ID: <550525358.211482.1414339897848.JavaMail.apache@nm62.abv.bg>
next in thread | raw e-mail | index | archive | help
> On 26 October 2014 08:19, M. P. wrote: > > What is the right way to make a port build only on 10-RELEASE or later? > > Is there something like ONLY_FOR_ARCHS but for versions? > > You mean something like this: > .if ${OSVERSION} < 1000100 > BROKEN= Not supported on releases before 10.0 > .endif > > List of OSVERSION numbers: > https://www.freebsd.org/doc/en/books/porters-handbook/versions.html > > Riggs Thank you.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?550525358.211482.1414339897848.JavaMail.apache>