logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 59500f932f45eb213970d55082749ebedf29ffd0
parent 07cb5a592199389495b03d8f12c55c831faf5c4f
Author: Randy Palamar <palamar@ualberta.ca>
Date:   Wed,  4 Oct 2023 16:44:29 -0600

git: apply config.prefix to paths

see #15: Support configurable PREFIX

Diffstat:

Mpkg/git/gen.lua2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/git/gen.lua b/pkg/git/gen.lua @@ -31,7 +31,7 @@ build('hooklist', '$outdir/hook-list.h', { '|', '$srcdir/generate-hooklist.sh', '$srcdir/Documentation/githooks.txt' }) -cc('exec-cmd.c', nil, {cflags=[[$cflags '-DFALLBACK_RUNTIME_PREFIX=""']]}) +cc('exec-cmd.c', nil, {cflags=string.format([[$cflags '-DFALLBACK_RUNTIME_PREFIX="%s"']], config.prefix)}) cc('common-main.c') cc('http.c') cc('compat/regex/regex.c', nil, {cflags='$cflags -DGAWK -DNO_MBSUPPORT'})