diff options
| author | Steven R. Loomis | 2014-08-12 10:21:56 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2014-08-14 17:56:28 +0100 |
| commit | b859a5c6a2f8fdf1c660844a8d47a321b8ddea84 (patch) | |
| tree | c31af0590286f84e5de5282a813a1cd759b827be /Library/Formula | |
| parent | c85398fc208aa3cef32b7b5240b8aa6f8a64fa41 (diff) | |
| download | homebrew-b859a5c6a2f8fdf1c660844a8d47a321b8ddea84.tar.bz2 | |
node: add optional icu4c dependency.
Closes #31538.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/node.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/node.rb b/Library/Formula/node.rb index a9159dbd0..07012b57f 100644 --- a/Library/Formula/node.rb +++ b/Library/Formula/node.rb @@ -23,8 +23,11 @@ class Node < Formula option "enable-debug", "Build with debugger hooks" option "without-npm", "npm will not be installed" option "without-completion", "npm bash completion will not be installed" + option "with-icu4c", "enable Intl support via ICU" depends_on :python => :build + depends_on "icu4c" => :optional + depends_on "pkg-config" => :build if build.with? 'icu4c' fails_with :llvm do build 2326 @@ -38,6 +41,7 @@ class Node < Formula def install args = %W{--prefix=#{prefix} --without-npm} args << "--debug" if build.include? "enable-debug" + args << "--with-intl=system-icu" if build.with? "icu4c" system "./configure", *args system "make", "install" |
