pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: pkgsrc/lang/neko
On 27.03.2020 19:07, Nia Alarie wrote:
Module Name: pkgsrc
Committed By: nia
Date: Fri Mar 27 18:07:16 UTC 2020
Modified Files:
pkgsrc/lang/neko: Makefile
Log Message:
neko: Wants git to build for reasons I need to investigate later.
Doesn't seem to be using it to fetch anything over the network and
might not actually be necessary although it seems to think it is.
To investigate issues like this, I have applied the appended patch. With
that, I can run "TOOLS_ALWAYS_WRAP=yes bmake" and then have a look at
WRKDIR/.work.log.
In your case, you would need additionally:
TOOLS_CREATE+= git
TOOLS_PATH.git= ${PREFIX}/bin/git
I will document this variable and commit the patch after the freeze.
Roland
diff --git a/mk/tools/create.mk b/mk/tools/create.mk
index 719bce97a34..d13d21ed91c 100644
--- a/mk/tools/create.mk
+++ b/mk/tools/create.mk
@@ -161,7 +161,7 @@ ${TOOLS_CMD.${_t_}}:
logsuffix='$$shquoted_args'; \
else \
case ${TOOLS_PATH.${_t_}:Q}"" in \
- /*) create=symlink ;; \
+ (${TOOLS_ALWAYS_WRAP:Dnever-match-this}/*) create=symlink ;; \
*) create=wrapper; \
script=${TOOLS_SCRIPT_DFLT.${_t_}:Q}; \
logprefix=''; \
Home |
Main Index |
Thread Index |
Old Index