Date: Fri, 10 May 2019 07:55:37 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: driesm.michiels@gmail.com Cc: freebsd-ports@freebsd.org Subject: Re: Conditionally install the correct binary Message-ID: <CAJuc1zOjG-Xqbee4HiWwzX2_=4jm=gvLsPAAs3kJw8SMpfRHsw@mail.gmail.com> In-Reply-To: <004401d5069f$bfd769f0$3f863dd0$@gmail.com> References: <004401d5069f$bfd769f0$3f863dd0$@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 10 May 2019 at 07:47, <driesm.michiels@gmail.com> wrote: [...] > What is the easiest way to conditionally fetch and install a binary > depending on FreeBSD OS version. x11-fonts/fantasque-sans-mono uses conditional fetching depending on OPTIONS. The distinfo contains checksums for all the tarballs, but the port only fetches tarballs matching the selection options. You can adapt this strategy to depend on OSVERSION. Cheers. -- Jonathan Chen <jonc@chen.org.nz>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJuc1zOjG-Xqbee4HiWwzX2_=4jm=gvLsPAAs3kJw8SMpfRHsw>