“Their enterprise was neither more just
nor easier, and God was no more
their friend than yours.”
Machiavelli
“Their enterprise was neither more just
nor easier, and God was no more
their friend than yours.”
Machiavelli
Fish shell 1.23.0 with Leopard
UPDATED - 1.23.0, with a minor tweak to the text thanks to the anon poster on the original post.
Getting fish working with Leopard was a bit trickier than expected as MacPorts is still having a few issues with the switch, hopefully this explanation will help anyone else that wishes to use it.
First, install Macports 1.6.0 for 10.5 which can be found on the MacPorts website. Then:
$ sudo rm /opt/local/bin/ginstall
$ sudo ln -s /usr/bin/install /opt/local/bin/ginstall
Various modifications to the Portfile are required to get the latest fish and to make this build with Macports. The Portfile can be found in fish Portfile /opt/local/var/macports/sources/rsync.macports.org/release/ports/shells/fish/Portfile.
First I removed the line:
depends_buildbin:doxygen:doxygen
This makes the build a whole lot faster (with the downside that help no longer works, but wget can easily fix that issue - the documentation is on the fish website).
This requires that the line:
reinplace "s|LDFLAGS= |LDFLAGS= -liconv |g" "${worksrcpath}/Makefile"
is replaced by the following two lines:
reinplace "s|LDFLAGS = |LDFLAGS = -liconv |g" "${worksrcpath}/Makefile"
reinplace "s|all: \$\(PROGRAMS\) user_doc|all: \$\(PROGRAMS\) |" "${worksrcpath}/Makefile"
Now change the following line:
platform darwin 8 {
to:
platform darwin 9 {
And:
version 1.22.3
to:
version 1.23.0
And:
checksums md5 016a5944861ea48e363521c240834415
to:
checksums md5 aa2f09bb54652b16bf4f7708848a7416
Finally, start the install:
$ sudo port install fish
And enjoy.
Saturday, January 26, 2008