aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/node.rb')
-rw-r--r--Library/Formula/node.rb11
1 files changed, 2 insertions, 9 deletions
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"