There’s command line options that work with BSD or GNU but don’t work with MacOS, or some options that have default values on some platforms but not MacOS. Here’s one example I had to fix a while back: https://github.com/yarnpkg/yarn/issues/1984
I’m not sure if they’re open source. Apple used to release “Darwin” which was an open-source OS that only contained the open-source parts of MacOS. You could actually install and run it on a PC. Over time, the repo slowly degraded until the point where it was impossible to build it any more (it started depending on code only available in Apple’s internal repos), and eventually they stopped publishing it.
There’s command line options that work with BSD or GNU but don’t work with MacOS, or some options that have default values on some platforms but not MacOS. Here’s one example I had to fix a while back: https://github.com/yarnpkg/yarn/issues/1984
I’m not sure if they’re open source. Apple used to release “Darwin” which was an open-source OS that only contained the open-source parts of MacOS. You could actually install and run it on a PC. Over time, the repo slowly degraded until the point where it was impossible to build it any more (it started depending on code only available in Apple’s internal repos), and eventually they stopped publishing it.