Conversation
+1 |
end | ||
|
||
def install | ||
system "ACLOCAL_FLAGS=\"-I /usr/local/share/aclocal $ACLOCAL_FLAGS\" ./autogen.sh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preferred way to do this is
ENV.append 'ACLOCAL_FLAGS', '-I/usr/local/share/aclocal'
system "./autogen.sh"
(the formula installer forks, so no need to worry about contaminating the parent environment).
Thanks @jacknagel, I've merged your code suggestions. |
Thanks, I know this formula has been cooking in some form for quite a while now, so I'll try to give it a proper review tomorrow. |
Pulled, thanks for your patience. |
cf. #7935. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Thanks a ton! |
HI, libmp3splt fails to build with the following errors:
Seems like Marton |
Can you try with |
unfortunately, the problem still persists:
Just to make sure I didn't misunderstand you, the formula looks like:
|
What is the content of your ```/usr/local/share/aclocal? This may be related to commit 0301f4d. |
Do you have Homebrew installed somewhere other than /usr/local? I just realized that this: ENV.append 'ACLOCAL_FLAGS', '-I/usr/local/share/aclocal' should be ENV.append 'ACLOCAL_FLAGS', "-I#{HOMEBREW_PREFIX}/share/aclocal" will fix in a minute. |
Also, are you permissions set correctly for |
Thanks for your help! Homebrew is in /usr/local. However, I had some old broken symlinks in /usr/local/share/aclocal from an old homebrew installation, deleting them helped! Maybe Now compilation fails with |
Please open a new issue, posting all relevant information (i.e., read the new issue checklist on the wiki). |
Closes Homebrew#7935. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
cf. Homebrew#7935. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Closes Homebrew#7935. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
cf. Homebrew#7935. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
With one commit per formula.