Created
November 11, 2010 19:04
-
-
Save indeyets/672998 to your computer and use it in GitHub Desktop.
mongrel2 formula patch for homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Library/Formula/mongrel2.rb b/Library/Formula/mongrel2.rb | |
index 60e7e49..35ce213 100644 | |
--- a/Library/Formula/mongrel2.rb | |
+++ b/Library/Formula/mongrel2.rb | |
@@ -9,6 +9,8 @@ class Mongrel2 <Formula | |
depends_on 'zeromq' | |
def install | |
+ ENV['OPTFLAGS'] = ENV.cflags + " " + ENV['CPPFLAGS'] | |
+ ENV['OPTLIBS'] = ENV.ldflags | |
system "make all" | |
system "make install PREFIX=#{prefix}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment