Hi Linus, 2006/5/17, Linus Torvalds <torvalds@xxxxxxxx>:
So let me just quote the thing you quoted but apparently didn't read:
[snip] I did read that.
There already _is_ such a directory. It's your "prefix=" directory plus "bin". So what you can do is make sure you compile with make prefix=/my/git/installation/prefix and then install the GNU tools in /my/git/installation/prefix/bin, and you're all set.
Ok, if I would do so, my prefix would be /usr/pkg, and the bindir would be /usr/pkg/bin. So I would need to have an xargs and so on symlink in /usr/pkg/bin. But this is simply not acceptable, because it breaks other NetBSD pkgsrc scripts. Besides that, installing git to a different location is not an option for me, because I want to have git packaged by pkgsrc. I suggest Junio's solution will work (gitexecdir) but I have to try that later today.
At most you might have to make some of the tests use "git xyzzy" instead of "git-xyzzy", and run "make install" before "make test". It wouldn't be wonderful, but hey, I've given alternatives (like using the GNU tools by default, or helping make git more portable in the first place). So it's a hack.
Yes I know, as far as I can, I'm willing to help with this. bye dreamind -- http://www.dreamind.de/ Oroborus and Debian GNU/Linux Developer. - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html