tiger-vnc: use Formula[]

This commit is contained in:
Adam Vandenberg 2014-02-24 22:47:45 -08:00
parent 2836162a6d
commit 94b649d992

View file

@ -13,8 +13,8 @@ class TigerVnc < Formula
depends_on :x11
def install
gettext = Formula.factory('gettext')
turbo = Formula.factory('jpeg-turbo')
gettext = Formula['gettext']
turbo = Formula['jpeg-turbo']
args = std_cmake_args + %W[
-DJPEG_INCLUDE_DIR=#{turbo.include}
-DJPEG_LIBRARY=#{turbo.lib}/libjpeg.dylib