aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMatt Robenolt2015-03-28 16:08:43 -0700
committerMike McQuaid2015-03-31 17:19:20 +0100
commitfe7d1715e2f1a476630eff76ead51a54e39cd657 (patch)
tree43e870546333f6ac8ba0dee6158f5d9d23480217 /Library
parentf7c50ebe94f7881ddef391018f949b78e66415b6 (diff)
downloadhomebrew-fe7d1715e2f1a476630eff76ead51a54e39cd657.tar.bz2
libxslt: link against libxml2 opt_prefix.
Closes #38160. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libxslt.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/libxslt.rb b/Library/Formula/libxslt.rb
index 325b12cfb..d9860a29c 100644
--- a/Library/Formula/libxslt.rb
+++ b/Library/Formula/libxslt.rb
@@ -5,6 +5,7 @@ class Libxslt < Formula
url 'ftp://xmlsoft.org/libxml2/libxslt-1.1.28.tar.gz'
mirror 'http://xmlsoft.org/sources/libxslt-1.1.28.tar.gz'
sha1 '4df177de629b2653db322bfb891afa3c0d1fa221'
+ revision 1
bottle do
revision 1
@@ -36,7 +37,7 @@ class Libxslt < Formula
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
- "--with-libxml-prefix=#{Formula["libxml2"].prefix}"
+ "--with-libxml-prefix=#{Formula["libxml2"].opt_prefix}"
system "make"
system "make install"
end