Updating ports bsd 5 4
To upgrade a copy of Mac Ports that was installed from source to the newer release of the source code, simply repeat the source install with the newer version of the Mac Ports source code.
Uninstalling Mac Ports can be a drastic step, and depending on the issue you are experiencing, you may not need to do so.
These steps explain how to setup Mac Ports for developers, using only Git to keep Mac Ports up to date.
I've previously installed Script "configure" failed unexpectedly. Usually, it provides solutions for users that are using portupgrade, portmaster or binary pkgng packages.Always make sure to install the latest available version of Xcode for your mac OS release; using outdated versions of Xcode may cause port install failures.Also note that Xcode is not updated via OS X's Software Update utility on OS versions prior to 10.6, and is updated via the Mac App Store starting with 10.7., and click the Install button to install the required command line developer tools.There are two options for downloading it: Both are available from the Apple developer website.You may also be able to install Xcode 3.2 from your Mac OS X 10.6 DVD and then run Software Update to get the latest version.However, if you wish to install multiple copies of Mac Ports or install Mac Ports on another OS platform, you must install Mac Ports from the source code.If you installed Mac Ports using the package installer, skip this section. pr=ports/184276) explains that "the directory structure where Perl is installed has also been modified ....Here are the instructions from the 20130612 entry in the UPDATING file: port and the third one is for systems using binary pkgng packages.You can also get the command line tools from the Apple developer website.Xcode 4.3 and later do not automatically install the command line tools, but Mac Ports requires them.