View | Details | Raw Unified | Return to bug 244671
Collapse All | Expand All

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

Return to bug 244671