$NetBSD: patch-git-Makefile,v 1.3 2020/03/31 13:59:33 roy Exp $ Don't put HOME into binaries. --- git/Makefile.orig 2020-02-17 04:47:35.000000000 +0000 +++ git/Makefile 2020-03-31 13:41:57.076648624 +0000 @@ -522,7 +522,7 @@ # perllibdir # This can help installing the suite in a relocatable way. -prefix = $(HOME) +prefix = $(PREFIX) bindir = $(prefix)/bin mandir = $(prefix)/share/man infodir = $(prefix)/share/info @@ -1174,8 +1174,8 @@ # Set CFLAGS, LDFLAGS and other *FLAGS variables. These might be # tweaked by config.* below as well as the command-line, both of # which'll override these defaults. -CFLAGS = -g -O2 -Wall -LDFLAGS = +# CFLAGS = -g -O2 -Wall +# LDFLAGS = CC_LD_DYNPATH = -Wl,-rpath, BASIC_CFLAGS = -I. BASIC_LDFLAGS =