aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/requirements
diff options
context:
space:
mode:
authorJack Nagel2013-08-19 17:21:13 -0500
committerJack Nagel2013-08-19 17:21:13 -0500
commit79e06fc9ea80685c9ca619d6f6b6b919da6c4e9d (patch)
tree3017a198d67441a9720467677a96828620ba32e3 /Library/Homebrew/requirements
parent068ad2b738be86705779c12124431e9a22b868b8 (diff)
downloadhomebrew-79e06fc9ea80685c9ca619d6f6b6b919da6c4e9d.tar.bz2
Use ENV.append_path
Diffstat (limited to 'Library/Homebrew/requirements')
-rw-r--r--Library/Homebrew/requirements/python_dependency.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/requirements/python_dependency.rb b/Library/Homebrew/requirements/python_dependency.rb
index 6c613a595..a1429ce09 100644
--- a/Library/Homebrew/requirements/python_dependency.rb
+++ b/Library/Homebrew/requirements/python_dependency.rb
@@ -254,8 +254,8 @@ class PythonInstalled < Requirement
ENV['PYTHONHOME'] = nil # to avoid fuck-ups.
ENV['PYTHONPATH'] = if brewed? then nil; else global_site_packages.to_s; end
- ENV.append 'CMAKE_INCLUDE_PATH', incdir, File::PATH_SEPARATOR
- ENV.append 'PKG_CONFIG_PATH', pkg_config_path, File::PATH_SEPARATOR if pkg_config_path
+ ENV.append_path 'CMAKE_INCLUDE_PATH', incdir
+ ENV.append_path 'PKG_CONFIG_PATH', pkg_config_path if pkg_config_path
# We don't set the -F#{framework} here, because if Python 2.x and 3.x are
# used, `Python.framework` is ambiguous. However, in the `python do` block
# we can set LDFLAGS+="-F#{framework}" because only one is temporarily set.