[MacPorts] #61381: git-2.29.1: failed to build in trace
MacPorts
noreply at macports.org
Thu Oct 29 12:04:37 UTC 2020
#61381: git-2.29.1: failed to build in trace
---------------------+----------------------
Reporter: iefdev | Owner: ci42
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: git |
---------------------+----------------------
Comment (by iefdev):
In `git-2.29.1/git-gui/Makefile`, there is this block:
{{{
#!make lineno=99
TCLTK_PATH ?= wish
ifeq (./,$(dir $(TCLTK_PATH)))
TCL_PATH ?= $(subst wish,tclsh,$(TCLTK_PATH))
else
TCL_PATH ?= $(dir $(TCLTK_PATH))$(notdir $(subst
wish,tclsh,$(TCLTK_PATH)))
endif
ifeq ($(uname_S),Darwin)
TKFRAMEWORK = /Library/Frameworks/Tk.framework/Resources/Wish.app
ifeq ($(shell echo "$(uname_R)" | awk -F. '{if ($$1 >= 9) print
"y"}')_$(shell test -d $(TKFRAMEWORK) || echo n),y_n)
TKFRAMEWORK =
/System/Library/Frameworks/Tk.framework/Resources/Wish.app
ifeq ($(shell test -d $(TKFRAMEWORK) || echo n),n)
TKFRAMEWORK =
/System/Library/Frameworks/Tk.framework/Resources/Wish\ Shell.app
endif
endif
TKEXECUTABLE = $(shell basename "$(TKFRAMEWORK)" .app)
endif
}}}
Perhaps `TKFRAMEWORK` &/or `TCL_PATH` is something that could be passed
through build.args?
--
Ticket URL: <https://trac.macports.org/ticket/61381#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list