From 6d7cda77e9a0724b9098b21b630fd0ada4561ae8 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 6 Sep 2013 12:38:42 -0500 Subject: [PATCH] ENV: remove trailing slash from OpenGL header path --- Library/Homebrew/extend/ENV/super.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 9ca88750c2..63bae6e9fa 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -176,7 +176,7 @@ module Superenv paths << "#{MacOS::X11.include}/freetype2" if x11? paths << "#{sdk}/usr/include/libxml2" unless deps.include? 'libxml2' paths << "#{sdk}/usr/include/apache2" if MacOS::Xcode.without_clt? - paths << "#{sdk}/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/" unless x11? + paths << "#{sdk}/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers" unless x11? paths << MacOS::X11.include if x11? paths.to_path_s end