aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2015-02-06 20:16:46 -0500
committerJack Nagel2015-02-06 20:19:38 -0500
commit06b10bc64605ece33b56d2607a1480cf8177fd8f (patch)
tree2ffb3f2823a034751e66dfcd611dbc26efe78831 /Library
parentc83f453ae0cb6c8d1368b7bef5d66f595d9d2491 (diff)
downloadhomebrew-06b10bc64605ece33b56d2607a1480cf8177fd8f.tar.bz2
Drop unnecessary PKG_CONFIG_PATH manipulation
This is duplicating work that Homebrew does automatically.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/iojs.rb6
-rw-r--r--Library/Formula/node.rb11
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"