Date: Thu, 9 May 2019 21:45:25 +0200 From: <driesm.michiels@gmail.com> To: <freebsd-ports@freebsd.org> Subject: Conditionally install the correct binary Message-ID: <004401d5069f$bfd769f0$3f863dd0$@gmail.com>
next in thread | raw e-mail | index | archive | help
Hi ports mailling list! What is the easiest way to conditionally fetch and install a binary depending on FreeBSD OS version. Lets say that upstream has 2 tarballs in the repo; tarball11 and tarball12. Tarball11 is only necessary to download and install when the OS version is FreeBSD 11. Tarball12 is only necessary to download and install when the OS version is FreeBSD 12. Any port as an example to look at? I tried grepping OSVERSION in the Makefiles but didn't really find what I was looking for. Regards, Dries
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004401d5069f$bfd769f0$3f863dd0$>