See bug 214009 for history. Since git-2.18.*, the DEVELOPER_CFLAGS= trick doesn't work when DEVELOPER=yes is set. Updated fix: Index: Makefile =================================================================== --- Makefile (revision 485765) +++ Makefile (working copy) @@ -28,7 +28,7 @@ USES= autoreconf gmake iconv shebangfix ssl tar:xz CPPFLAGS+= -isystem${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -MAKE_ARGS+= DEVELOPER_CFLAGS= +MAKE_ARGS+= DEVELOPER= MAKE_ENV+= V=1 USE_RC_SUBR= git_daemon SHEBANG_FILES= *.perl */*.perl */*/*.perl */*.pl */*/*.pl */*/*/*.pl \
A commit references this bug: Author: garga Date: Mon Dec 10 18:51:10 UTC 2018 New revision: 487197 URL: https://svnweb.freebsd.org/changeset/ports/487197 Log: devel/git: - Update to 2.20.0 - Fix build when DEVELOPER env var is set [1] PR: 233485 [1] Submitted by: John Hein <z7dr6ut7gs@snkmail.com> [1] Sponsored by: Rubicon Communications, LLC (Netgate) Changes: head/devel/git/Makefile head/devel/git/distinfo head/devel/git/pkg-plist