Bug 253588

Summary: java/openjdk8: replace ECHO with ECHO_CMD in Makefile
Product: Ports & Packages Reporter: Michael Muenz <m.muenz>
Component: Individual Port(s)Assignee: Jung-uk Kim <jkim>
Status: Closed FIXED    
Severity: Affects Only Me CC: franco, jkim
Priority: --- Flags: bugzilla: maintainer-feedback? (java)
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
ECHO_CMD patch none

Description Michael Muenz 2021-02-17 14:50:41 UTC
Created attachment 222528 [details]
ECHO_CMD patch


when building via ports (not poudriere) it breaks building at dependency devel/sbt since it doesn't know where java is.

Replacing the simple ECHO with the standard ECHO_CMD fixes it.

Comment 1 Franco Fichtner 2021-02-17 14:53:29 UTC
The problem actually is that when using "make -s" ECHO builtin is cleared and the vital port parts are not added... ECHO should not be used in Makefiles unless it is a verbose message.

Comment 2 Jung-uk Kim freebsd_committer 2021-02-19 07:57:22 UTC
I'll take it.
Comment 3 commit-hook freebsd_committer 2021-02-19 08:02:55 UTC
A commit references this bug:

Author: jkim
Date: Fri Feb 19 08:02:02 UTC 2021
New revision: 566035
URL: https://svnweb.freebsd.org/changeset/ports/566035

  Replace ${ECHO} with ${ECHO_CMD}.

  ${ECHO} may be no-op when "make -s" is used.

  PR:		253588

Comment 4 Jung-uk Kim freebsd_committer 2021-02-19 08:06:13 UTC
Committed, thanks!