opnsense-ports/sysutils/containerd/files/patch-Makefile
Franco Fichtner f940e83811 */*: sync with upstream
Taken from: HardenedBSD
2021-05-19 09:44:31 +02:00

13 lines
454 B
Text

--- Makefile.orig 2021-05-03 20:52:36 UTC
+++ Makefile
@@ -21,8 +21,8 @@ DESTDIR ?= /usr/local
TEST_IMAGE_LIST ?=
# Used to populate variables in version package.
-VERSION=$(shell git describe --match 'v[0-9]*' --dirty='.m' --always)
-REVISION=$(shell git rev-parse HEAD)$(shell if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi)
+VERSION?=unknown
+REVISION?=unknown
PACKAGE=github.com/containerd/containerd
SHIM_CGO_ENABLED ?= 0