Re: Git 1.3.2 on Solaris
- From
Linus Torvalds <torvalds@osdl.org>
- Date
- May 17, 2006, 16:24 UTC
- Message-ID
- <Pine.LNX.4.64.0605170919290.10823@g5.osdl.org>
- In-Reply-To
- <f3d7535d0605170808l21d9f6d0gff1afaa10db17af9@mail.gmail.com>
On Wed, 17 May 2006, Stefan Pfetzing wrote:
Show 6 quoted lines
> > 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.
DON'T USE /usr/pkg then.
Use /usr/pkg/git-core/share/ or something that is normally not on your path.
And then install _just_ the "git" binary in /usr/pkg/bin.
That must be allowable by whatever solaris packaging rules: it's not like other projects don't have their own internal library files.
Then you install the GNU symlinks under that same
/usr/pkg/git-core/share/bin
and you're all set. The only binary you can _see_ is "git", and when that executes any scripts or other git binaries, it will set up the path to include that magic hidden directory.
> Besides that, installing git to a different location is not an option > for me, because I want to have git packaged by pkgsrc.
Now, I'm told pkgsrc is horrible, but it can't be so horrid as to not allow private directories?
Linus