diff options
| author | Sebastian Wiesner | 2012-12-28 12:44:25 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2013-02-10 09:31:06 -0800 |
| commit | 60e04a669de5d53aeab5d8f18abb79d45a1a8cd0 (patch) | |
| tree | 83be4ec88c7e71b0ce72a53176faadf4284d777c /Library/Formula | |
| parent | e7ca13e299dc2f3e9e1c2502ce6cbb425efe86e7 (diff) | |
| download | homebrew-60e04a669de5d53aeab5d8f18abb79d45a1a8cd0.tar.bz2 | |
xmlstarlet: remove patch and add xmlstarlet symlink
Closes #16777.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/xmlstarlet.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Library/Formula/xmlstarlet.rb b/Library/Formula/xmlstarlet.rb index 8471802d6..a04cedbf4 100644 --- a/Library/Formula/xmlstarlet.rb +++ b/Library/Formula/xmlstarlet.rb @@ -6,17 +6,11 @@ class Xmlstarlet < Formula sha1 '432bd1bd2511369b7823e5731397744435a68f04' def install - # thanks, xmlstarlet but OS X doesn't have the static versions - inreplace 'configure' do |s| - s.gsub! '$LIBXML_LIBDIR/libxml2.a', '-lxml2' - s.gsub! '$LIBXSLT_LIBDIR/libxslt.a', '-lxslt' - s.gsub! '$LIBXSLT_LIBDIR/libexslt.a', '-lexslt' - end - system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}", "--mandir=#{man}" system "make" system "make install" + ln_s bin/'xml', bin/'xmlstarlet' end end |
