Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The root directory of homebrew is hard-coded. #13

Closed
easior opened this issue Nov 14, 2015 · 1 comment
Closed

The root directory of homebrew is hard-coded. #13

easior opened this issue Nov 14, 2015 · 1 comment
Assignees

Comments

@easior
Copy link

easior commented Nov 14, 2015

Today, I try to build OpenFOAM 2.3.1 on my MBP. I found your work for it. It's so great!

However, I also found something defective on your patches because the root directory of homebrew is hard-coded. e.g. there is the following line in OpenFOAM-2.3.1.patch:

export BOOST_ARCH_PATH=/usr/local/opt/boost

However, my homebrew is installed in to $HOME/Developer. I recommend that all /usr/local in your patches should replaced by brew --prefix.

E.L.

@mrklein
Copy link
Owner

mrklein commented Nov 16, 2015

Here is a citation from Homebrew documentation:

However do yourself a favor and install to /usr/local. Some things may not build when installed elsewhere. One of the reasons Homebrew just works relative to the competition is because we recommend installing to /usr/local. Pick another prefix at your peril!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants