Files
macports-ports/devel/checkmake/files/no-builder-name-email.diff

21 lines
704 B
Diff

diff -urN a/Makefile b/Makefile
--- a/Makefile 2023-04-11 12:51:08.000000000 +0000
+++ b/Makefile 2023-11-12 00:42:54.000000000 +0000
@@ -23,16 +23,6 @@
$(RELEASE_ARTIFACTS_DIR):
install -d $@
-BUILDER_NAME := $(if $(BUILDER_NAME),$(BUILDER_NAME),$(shell git config user.name))
-ifndef BUILDER_NAME
-$(error "You must set environment variable BUILDER_NAME or set a user.name in your git configuration.")
-endif
-
-EMAIL := $(if $(BUILDER_EMAIL),$(BUILDER_EMAIL),$(shell git config user.email))
-ifndef EMAIL
-$(error "You must set environment variable BUILDER_EMAIL or set a user.email in your git configuration.")
-endif
-
BUILDER := $(shell echo "${BUILDER_NAME} <${EMAIL}>")
PKG_RELEASE ?= 1