Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
MonoDevelop's code use some hard-coded bash path (#!/bin/bash) and some Makefiles run the 'make' command directly.
On some systems, (e.g. FreeBSD), bash is not installed in /bin (e.g. /usr/local/bin/bash on FreeBSD) and make will not cope with the GNU Makefiles used in the project (in this case, you have to run GNU make which is available as gmake on FreeBSD).
Both make and gmake will set the variable $(MAKE) properly, so the fix consists in using /usr/bin/env to find and run bash in shell scripts, and use "$(MAKE)" instead of "make" in the Makefiles.
The attached patch fixes the build for FreeBSD. Some files which are OSX specific and could be updated as well are left untouched (I don't have such systems to test). If you would like me to provide a complete patch, feel free to ask so!
Created attachment 1899 [details]