I installed ImageMagick via Homebrew.
However, due to a bug I have with my current configuration, I need to adjust the compile flags for the formula and reinstall it.
How can I accomplish this?
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.
Remove the existing version.
Edit the formula.
This will bring it up in an editor; make sure your
$EDITORvariable is set to your preference (for me: TextMate)Change it, save it, try re-installing it.
Because most installs use pouring/bottles to install a precompiled binary, you will likely see no change unless you "build from source":
You can use
--formula /path/to/imagemagick.rbas an additional argument to the above command to ensurebrewis installing the formula that was edited.If you’re comfortable with git, you may also want to make a branch first, and do your edits in a branch to guard against data loss.