diff options
author | Mahmoud Al-Qudsi <mqudsi@neosmart.net> | 2018-07-16 13:45:51 -0500 |
---|---|---|
committer | Jonas Franz <info@jonasfranz.software> | 2018-07-16 20:45:51 +0200 |
commit | 7be5935c55dcdf198efdf1306bbeb2b54aa0b900 (patch) | |
tree | 0ac390a12c67839b877d9d4dfa8da0f62ab6ed9f /models/issue.go | |
parent | ef6813abc9277f29515cb571c4c4ddc373482e58 (diff) | |
download | gitea-7be5935c55dcdf198efdf1306bbeb2b54aa0b900.tar.gz gitea-7be5935c55dcdf198efdf1306bbeb2b54aa0b900.zip |
Add BSDmakefile to prevent errors when `make` is called under FreeBSD (#4446)
The syntax of the gitea Makefile is not platform-agnostic and is
specific to the GNU version of `make`. BSD platforms such as FreeBSD
ship with bmake (BSD make) as their default `make` program; attempting
to compile gitea by simply executing `make` causes a wall of errors to
show as a result of syntax incompatible with BSD make.
If a file named `BSDmakefile` is present, `bmake` will give it
preference over a generic `Makefile`. This `BSDmakefile` is taken from
the BSD-licensed `gmake-proxy` project [0], which transparently proxies
all `make` commands to `gmake` (GNU make) on systems where `bmake` is
the default, and if `gmake` is not installed an error message is
displayed.
[0]: https://github.com/neosmart/gmake-proxy
Diffstat (limited to 'models/issue.go')
0 files changed, 0 insertions, 0 deletions