Bug 233485

Summary: devel/git: build fails if DEVELOPER env var is set (again; tweak the previous fix)
Product: Ports & Packages Reporter: John Hein <jcfyecrayz>
Component: Individual Port(s)Assignee: Renato Botelho <garga>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (garga)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description John Hein 2018-11-24 23:42:57 UTC
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 \
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-10 18:52:03 UTC
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