From fc649af17afe2aa54435710c7e82f6b5363c8d09 Mon Sep 17 00:00:00 2001
From: Clemens Gruber <clemensgru@gmail.com>
Date: Thu, 13 Jun 2013 17:19:27 +0200
Subject: [PATCH] superenv: apply apr-1-config fix to 10.8+

Fixes Homebrew/homebrew#20417.
Closes Homebrew/homebrew#20474.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
---
 Library/Homebrew/superenv.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb
index 1fa43cf2a9..0cf427b096 100644
--- a/Library/Homebrew/superenv.rb
+++ b/Library/Homebrew/superenv.rb
@@ -217,8 +217,8 @@ class << ENV
     end
     # Fix issue with sed barfing on unicode characters on Mountain Lion
     s << 's' if MacOS.version >= :mountain_lion
-    # Fix issue with 10.8 apr-1-config having broken paths
-    s << 'a' if MacOS.version == :mountain_lion
+    # Fix issue with >= 10.8 apr-1-config having broken paths
+    s << 'a' if MacOS.version >= :mountain_lion
     s
   end
 
-- 
GitLab