Index: /usr/ports/www/gitea/files/patch-Makefile =================================================================== --- /usr/ports/www/gitea/files/patch-Makefile (nonexistent) +++ /usr/ports/www/gitea/files/patch-Makefile (working copy) @@ -0,0 +1,27 @@ +--- Makefile 2020-03-06 20:18:36.000000000 +0300 ++++ Makefile 2020-03-08 21:33:00.305618000 +0300 +@@ -123,11 +123,6 @@ + + .PHONY: go-check + go-check: +- $(eval GO_VERSION := $(shell printf "%03d%03d%03d" $(shell go version | grep -Eo '[0-9]+\.?[0-9]+?\.?[0-9]?[[:space:]]' | tr '.' ' ');)) +- @if [ "$(GO_VERSION)" -lt "001011000" ]; then \ +- echo "Gitea requires Go 1.11.0 or greater to build. You can get it at https://golang.org/dl/"; \ +- exit 1; \ +- fi + + .PHONY: git-check + git-check: +@@ -138,12 +133,6 @@ + + .PHONY: node-check + node-check: +- $(eval NODE_VERSION := $(shell printf "%03d%03d%03d" $(shell node -v | grep -Eo '[0-9]+\.?[0-9]+?\.?[0-9]?' | tr '.' ' ');)) +- $(eval NPM_MISSING := $(shell hash npm > /dev/null 2>&1 || echo 1)) +- @if [ "$(NODE_VERSION)" -lt "010000000" -o "$(NPM_MISSING)" = "1" ]; then \ +- echo "Gitea requires Node.js 10.0.0 or greater and npm to build. You can get it at https://nodejs.org/en/download/"; \ +- exit 1; \ +- fi + + .PHONY: clean-all + clean-all: clean