diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/iojs.rb | 6 | ||||
| -rw-r--r-- | Library/Formula/node.rb | 11 |
2 files changed, 3 insertions, 14 deletions
diff --git a/Library/Formula/iojs.rb b/Library/Formula/iojs.rb index 11f3d63e5..322843f4e 100644 --- a/Library/Formula/iojs.rb +++ b/Library/Formula/iojs.rb @@ -21,11 +21,7 @@ class Iojs < Formula def install args = %W[--prefix=#{prefix} --without-npm] args << "--debug" if build.with? "debug" - - if build.with? "icu4c" - ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["icu4c"].opt_lib}/pkgconfig" - args << "--with-intl=system-icu" - end + args << "--with-intl=system-icu" if build.with? "icu4c" system "./configure", *args system "make", "install" diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index bba2e4ab0..23d4354f2 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -50,17 +50,10 @@ class Node < Formula args = %W[--prefix=#{prefix} --without-npm] args << "--debug" if build.with? "debug" args << "--without-ssl2" << "--without-ssl3" if build.stable? - - if build.head? - ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["icu4c"].opt_lib}/pkgconfig" - args << "--with-intl=system-icu" - end + args << "--with-intl=system-icu" if build.head? if build.devel? - if build.with? "icu4c" - ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["icu4c"].opt_lib}/pkgconfig" - args << "--with-intl=system-icu" - end + args << "--with-intl=system-icu" if build.with? "icu4c" if build.with? "openssl" args << "--shared-openssl" |
