Update `brew tap` to work without 'homebrew-'

Currently `brew tap` only works on repos with 'homebrew-' in their name.

This version tries the repo name as is and then falls back to try
'homebrew-repo' only if that fails.

I've also tweaked the regex  in tap_args to allow '-' in repo names. The
previous regex required a match on \w. This made it impossible for people
to tap repos with names like 'username/why-not'.

Closes #18366.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
doxygen: disable clang warning, fix compilers

When compiling in stdenv only, clang would start consuming more and
more RAM while spewing invalid-source-encoding warnings. I usually
killed the build when it hit 4.5GB.

The makefiles also hardcode cc and cxx, so it wasn't using the right
compiler in stdenv.
brew switch: change optlinks for keg-only formulae
hbase 0.94.5

Closes #18431.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
spdylay 0.3.8

Closes #18427.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
polarssl 1.2.6

Closes #18425.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
jemalloc 3.3.1

Closes #18423.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
vips 7.32.1

Closes #18421.
selenium-server-standalone 2.31.0

Closes #18420.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
podiff 1.1

Closes #18410.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Revert "Update `brew tap` to work without 'homebrew-'"

This reverts commit d72901f92b7385d44d8c980976db6a4336572e7e.

References #18366.
Closes #18432.
gsmartcontrol 0.8.7

Closes #17279.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Switch compilers when no build is specified

Given the current state of OS X compilers, the original fails_with
behavior is becoming less useful, mostly resulting in build failures
each time the compiler is updated. So make the following changes:

When a build is specified, we retain the old behavior: switch compilers
if the available compiler is <= the build, don't switch if it is > the
build.

When no build is specified, unconditionally switch compilers, and don't
output the advice message. This allows us to mark formulae as
perpetually failing, avoiding the need to update formulae each time a
new compiler build is made available.

As a bonus, this makes the logic much easier to reason about.

Closes #18175.
stunnel 4.55

Closes #18434.
ec2-api-tools 1.6.7

Closes #18436.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
ec2-ami-tools 1.4.0.9

 - adopt url format from ec2-api-tools

Closes #18435.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
highlight compilation fix on case-sensitive OS

The formula applies a patch on the Makefile.
The patch was applied on the file named src/Makefile
However, the file is actually named src/makefile

Closes #18437.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>