Thread (25 messages) flat view 25 messages, 6 authors, 2016-06-15

Re: Git 1.3.2 on Solaris

From: Stefan Pfetzing <hidden>
Date: 2016-06-15 22:42:26

Hi Linus,

2006/5/17, Linus Torvalds [off-list ref]:
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help