News for hackers. Stuff that matters.
Re:Git? tig by npongratz on Tuesday May 07, 2013 @10:23AM (#5668260)
Author mentions tig is available for Homebrew, which is great. Happily it is available for MacPorts, and installed successfully for me on OS X 10.6.8:

  port install tig
https://trac.macports.org/browser/trunk/dports/devel/tig/Por...
Re:Git? tig by RBerenguel on Tuesday May 07, 2013 @11:18AM (#5668527)
Fellow Mac user here... Have you tried homebrew? I had been using MacPorts until someone told me "Homebrew is far faster." And indeed, installing something on MP takes me ages, while on homebrew it's a matter of seconds
Re:Git? tig by npongratz on Tuesday May 07, 2013 @03:08PM (#5670063)
Homebrew may be faster because it uses Apple-provided libraries. MacPorts builds its own libs. Why?

Apple has a habit of not updating the libraries in Mac OS X until absolutely necessitated by a security vulnerability.

https://trac.macports.org/wiki/FAQ#ownlibs

One other reason I use MacPorts is because I didn't like the idea of HB changing permissions of /usr/local:

http://superuser.com/a/371976

HB may have changed this in the last couple years but I haven't bothered looking over the fence: MP has been near bulletproof for me, and has provided nearly everything relevant that I've needed.

Re:Git? tig by Groxx on Tuesday May 07, 2013 @04:52PM (#5670700)
fwiw I've been running homebrew out of my ~ folder without any problems, because I'm not a fan of that default either. But yeah, use what works :)
Re:Git? tig by Myrmornis on Wednesday May 08, 2013 @01:31AM (#5672684)
I really like that aspect of homebrew. I don't let anything else use /usr/local, and it means I can install things without using sudo, so no risk they are messing something up elsewhere in system directories.
Re:Git? tig by raimue on Wednesday May 08, 2013 @04:56AM (#5673212)
But you risk the installation messing with your data and home directory. MacPorts uses sudo because it drops privileges to a specific 'macports' user for the build process and applies sandboxing. Therefore, the execution of Makefile rules and other build scripts cannot harm your data.
Re:Git? tig by Myrmornis on Tuesday May 21, 2013 @03:13AM (#5742287)
Ah, thanks, I didn't know that. That does sound better.
Re:Git? tig by josx on Tuesday May 07, 2013 @11:18AM (#5668526)
Slightly off-topic, but is there a particular reason you prefer MacPorts to Homebrew?
Re:Git? tig by johncoltrane on Tuesday May 07, 2013 @05:05PM (#5670777)
Let's do it the other way: I've used MacPorts since 2006 without a single issue, what problems will I be able to fix by switching to Homebrew?
Re:Git? tig by leviathan on Wednesday May 08, 2013 @02:31AM (#5672856)
I remember when I upgraded to Lion everything got messed up. I had to spend a whole day mucking about trying to fix thing. I remember the only solution was to get a list of everything installed, uninstall everything, reinstall the latest version of MacPorts and then reinstall all the original packages.
Re:Git? tig by raimue on Wednesday May 08, 2013 @05:01AM (#5673224)
Migration is still required to reinstall ports as the underlying system libraries change on a major version upgrade of Mac OS X.

However, situation still improved a lot since then. If the licensing of the port and all dependencies allow it, MacPorts now even offers pre-compiled binary archives for Snow Leopard, Lion and Mountain Lion. Often you do not even have to compile software yourself anymore.

Re:Git? tig by bdarnell on Tuesday May 07, 2013 @12:08PM (#5668847)
I use macports because it has better support for multiple version of python installed in parallel.