If DEVELOPER=yes is defined, it defines extra CFLAGS which affect the build (breaks it on 10-stable at least due to const arg mismatch for basename(3)). This patch clears those extra CFLAGS. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214009 Index: Makefile =================================================================== --- Makefile (revision 427492) +++ Makefile (working copy) @@ -27,6 +27,7 @@ USES= gmake shebangfix ssl tar:xz CPPFLAGS+= -isystem${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib +MAKE_ARGS+= DEVELOPER_CFLAGS= MAKE_ENV+= V=1 USE_RC_SUBR= git_daemon SHEBANG_FILES= *.perl */*.perl */*/*.perl */*.pl */*/*.pl */*/*/*.pl \