How to clean a failed package to build?

Ryan Schmidt ryandesign at macports.org
Wed Oct 7 13:38:43 PDT 2009


On Oct 7, 2009, at 12:40, Kyunghoon Lee wrote:

> I was trying to build pang with a quartz option and it failed  
> because of the option.  I wanted to rebuild pango w/o the quartz  
> option, but port kept using the same variants option.  I tried to  
> clean, but it seems "port clean" works only for successfully  
> installed packages.  I'd appreciate it if someone help me clean the  
> unsuccessful install process so that I can build pango as if I'm  
> building it for the first time.  Thank you in adv.

What problem did you experience cleaning pango? "sudo port clean  
pango" cleans the pango work directory and should be all you need.  
Cleaning an already-installed port probably isn't useful most of the  
time, since MacPorts cleans a port automatically after it installs it.




More information about the macports-users mailing list