¿Cómo 'instalar a medida' con brew?

Así que tengo que editar la instalación de Wine y aplicar un parche personalizado. El parche que quiero está aquí...

https://bugs.winehq.org/attachment.cgi?id=38156

y cuando agrego estas líneas conbrew edit wine

patch do
  url "https://bugs.winehq.org/attachment.cgi?id=38156"
  sha256 "f1c4537f38e258c810ca33455e0947e3b2be1087bf9445fadac00424f294c004"
end

y luego intente instalar, en realidad no agrega el parche. Parece estar descargándolo de una fuente preempaquetada y compilada porque esta es la salida del terminal...

==> Downloading https://homebrew.bintray.com/bottles/wine-1.8.1.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring wine-1.8.1.el_capitan.bottle.tar.gz
==> Caveats
You may want to get winetricks:
  brew install winetricks

 By default Wine uses a native Mac driver. To switch to the X11 driver, use
regedit to set the "graphics" key under "HKCUSoftwareWineDrivers" to
"x11" (or use winetricks).

For best results with X11, install the latest version of XQuartz:
  https://xquartz.macosforge.org/
==> Summary
🍺  /usr/local/Cellar/wine/1.8.1: 2,504 files, 260.8M

y no descargar desde donde dice en el brew edit winearchivo...

stable do
url "https://dl.winehq.org/wine/source/1.8/wine-1.8.1.tar.bz2"
mirror "https://downloads.sourceforge.net/project/wine/Source/wine-1.8.1.tar.bz2"
sha256 "149ad3daaf8593b36c5c061285df0ec2a25e20ea48c61323be91088c4d22ca97"

Respuestas (1)

Para instalar algo compilando desde la fuente, puede usar -s. Para tu caso:

brew install wine -s

Sin -s, brew intenta descargar el paquete binario ("botella") e instalarlo.