From 06b10bc64605ece33b56d2607a1480cf8177fd8f Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 6 Feb 2015 20:16:46 -0500 Subject: Drop unnecessary PKG_CONFIG_PATH manipulation This is duplicating work that Homebrew does automatically. --- Library/Formula/iojs.rb | 6 +----- Library/Formula/node.rb | 11 ++--------- 2 files changed, 3 insertions(+), 14 deletions(-) (limited to 'Library/Formula') 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" -- cgit v1.2.3