Is there a way to satisfy a certain port dependency with another package (than the specified one) in MacPorts? More specifically, to use the package XYZ-devel instead of just XYZ for a second port that requires XYZ?
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If the
-develport is not offered as a variant, then the only way is to edit the Portfile.will open the specified port in an editor. You can change the dependency from the release port to the
-develport there.Note that:
-develversion (unlikely, but possible).port selfupdate. If you don’t want to have to “fix” the Portfile each time you update, you may want to set up a local Portfile repository.