Conversation
Looks like the makefile is trying to write directly to |
depends_on "libyaml" | ||
|
||
def install | ||
system "make", "install" |
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.
The solution is probably just to pass a prefix
argument to make.
@dunn so does it have to be patched? |
If the Makefile doesn't allow the install prefix to be customized, then yeah. |
desc "Ansible-cmdb takes the output of Ansible's fact gathering and converts it into a static HTML overview page containing system configuration information." | ||
homepage "https://github.com/fboender/ansible-cmdb" | ||
url "https://github.com/fboender/ansible-cmdb/releases/download/1.6/ansible-cmdb-1.6.zip" | ||
version "1.6" |
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.
Suspect this is redundant. We can handle reading simple URLs for version numbers.
@DomT4 you mean version could be omitted or used as a variable? |
Ok, I'll |
@hryamzik |
@MikeMcQuaid got it, thanks, now cleaning up locally.
Any suggestions on this? I don't see any other way to replace full paths. |
@hryamzik That's telling you that |
@MikeMcQuaid indeed, thanks! |
depends_on "libyaml" | ||
|
||
def install | ||
Dir.mkdir "#{bin}" |
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.
Can just do bin.mkpath
here.
@DomT4 thanks, done. |
Not supporting Looks like the audit problems are all fixed now. Could you squash this to a single commit to avoid cluttering up Homebrew's git history? Also, where did the "6.3" in the issue title come from? Looks like this program is v 1.6. (1.8 is available now, too.) |
👍 |
b1b137b
to
4a176e9
Compare
@apjanke, all fixed, I'll take a look at 1.8 a bit later and will make a new PR. |
Good to go. Merged. Thanks for your contribution to Homebrew! |
No description provided.