El Capitan changes for Mac Ports ?

Ryan Schmidt ryandesign at macports.org
Sun Oct 4 19:29:38 PDT 2015


On Oct 4, 2015, at 3:22 AM, Sven Kolja Heinemann wrote:

> Maybe the installer should just call xcodebuild -license. The User will still have to press Y.

An interesting idea, but I don't think we can do that. First, admin privileges are required ("sudo xcodebuild -license"). That might be doable in the installer, since the user already has to give their admin name and password, however "sudo xcodebuild -license" displays the license in the terminal, piped to a pager, which the user must page through in the terminal and then agree to by typing "agree" and pressing enter. I don't know of a way that we could have all that happen in the installer.

Even if we could, we probably shouldn't do it. When a user installs MacPorts, I think they expect to be presented with license agreements that pertain to MacPorts, not license agreements that pertain to other software made by a different organization. 

We should just document that the user must separately accept the Xcode license, and document how to do so.



More information about the macports-users mailing list