Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

It's been going for an age and things I have seen scroll past include such gems as libX11, ncurses and my personal favorite: perl5!

Is this normal?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

python25 is a rather kitchen-sink build.

It depends on tk, which depends on Xft2 … that's where some X11 stuff comes from.

There's a script available to show all dependencies involved.

share|improve this answer

You can manually edit the portfile to remove the dependency on tk, which is the main culprit.

sudo port edit python25

(Look for port:tk in the depends_lib section.)

I did this for awhile to keep MacPorts version of Getmail, but in the end, I just began to manually install Getmail instead.

I love both MacPorts and Fink, but I hate how quick they are to drag in whole new Python, Perl or Ruby installations. As a contrast, you might check out Rudix. It's a much thinner environment, though it doesn't support as many packages as MacPorts or Fink.

share|improve this answer
    
Manually editing the Portfiles is a rather futile effort as the changes will be wiped out after a sync or selfupdate. If you find having tk being included to be a problem, file a ticket with the maintainers. –  Nerdling Oct 1 '09 at 19:02
    
@Nerdling: as far as I can tell, the maintainers made a conscious decision to include tk. I don't think it's coming out. I agree that it's tedious to edit the portfile over and over, and so I eventually just installed Getmail manually (as I say in my post). –  Telemachus Oct 1 '09 at 19:47
    
You could try filing a patch that adds a no_tk variant. Might not get accepted, but it's worth a shot. –  mipadi Oct 27 '09 at 17:57

Macports installs in a separate location, I think /opt, so you don't have to worry about polluting your system.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.