diff options
| author | Max Howell | 2009-11-04 15:50:12 +0000 |
|---|---|---|
| committer | Max Howell | 2009-11-04 16:27:37 +0000 |
| commit | 9439f7555bfb4bebf75dd7d7e4e14caf0ba4a129 (patch) | |
| tree | 5fe59a75c763bb7c2aeb79e7e561ce77fa759a6c /Library/Formula/neon.rb | |
| parent | 58f5b4f3a098d8b1f6f64270042b0819c22542b6 (diff) | |
| download | homebrew-9439f7555bfb4bebf75dd7d7e4e14caf0ba4a129.tar.bz2 | |
Make Neon keg-only
Also make it build a dylib, not a static library. This is because the default linker behaviour is to run through the search path twice. First time looking for dylibs and second time for .a files. So duplicate formula must build a dylib.
The other option is the -search_paths_first link flag. I don't like this though as every flag we bung in there adds more possible compile issues to projects that depend on such flags being off.
Diffstat (limited to 'Library/Formula/neon.rb')
| -rw-r--r-- | Library/Formula/neon.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/neon.rb b/Library/Formula/neon.rb index 2b7686492..2dfd0ee91 100644 --- a/Library/Formula/neon.rb +++ b/Library/Formula/neon.rb @@ -5,10 +5,16 @@ class Neon <Formula @homepage='http://www.webdav.org/neon/' @md5='18a3764b70f9317f8b61509fd90d9e7a' + def keg_only? + :provided_by_osx + end + def install system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", + "--enable-shared", + "--disable-static", "--with-ssl" system "make install" end |
