How do I recompile one port?

Arno Hautala arno at
Fri May 21 16:26:04 PDT 2010

On Fri, May 21, 2010 at 18:45, Michael_google gmail_Gersten
<keybounce at> wrote:
> stbmac:23 Michael$ sudo port install libsdl_image +universal
> --->  Computing dependencies for libsdl_image
> --->  Unpacking tgz archive for libsdl_image 1.2.10_2+universal
> --->  Installing libsdl_image @1.2.10_2+universal
> --->  Activating libsdl_image @1.2.10_2+universal
> --->  Cleaning libsdl_image
> stbmac:23 Michael$ man port
> Alright, so uninstall, clean, and reinstall doesn't do it. Lets check
> the manual.

In this case, it's because you have port packaging turned on.  There's
probably a command line option to ignore existing packages, but you
probably want to delete the current archive anyway.
Theres are stored, by default, under: /opt/local/var/macports/packages/
The one you want to delete is probably located at:
Delete that, or the correct file if I got the name wrong, and you
should be able to uninstall, clean, and then install a fresh build.

"port clean --archive libsdl_image" will delete any archives
"port clean --all libsdl_image" will delete archives, dist files, builds, etc.

arno  s  hautala    /-|   arno at

pgp eabb6fe6 d47c500f b2458f5d a7cc7abb f81c4e00

More information about the macports-users mailing list