<div dir="ltr">Hi, Olaf, Thomas!<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Having another round through the info in the various links you and Yurii<br>
provided I noticed<br>
<br>
  checking for pkg-config... no<br>
<br>
Is homebrew using pkgconfig instead?  If so, I'd suggest adding<br>
something like<br>
<br>
  system "ln", "-s", "pkg-config", "/usr/bin/pkgconfig"<br></blockquote><div>No need to do this, in brew this may be addressed by adding `depends_on "pkg-config"`</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
*before* running configure to sane-backends.rb.  Adjust /usr/bin as<br>
necessary.  While at it, also drop the<br>
<br>
  depends_on "libusb-compat"<br>
<br>
or replace it with something like<br>
<br>
  depends_on "libusb-1.0"<br>
<br>
at least, do yourself a favour and build against libusb-1.0.<br></blockquote><div>Thomas, please try putting just `libusb` here, we have such formula: <a href="https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb">https://github.com/Homebrew/homebrew-core/blob/master/Formula/libusb.rb</a> </div><div><br></div><div>This formula Olaf?</div></div></div>