aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/openssl.rb
diff options
context:
space:
mode:
authorJack Nagel2011-07-21 19:09:26 -0500
committerAdam Vandenberg2011-07-21 17:22:42 -0700
commit0ea73518b33e13b079a186353c549509826b24c2 (patch)
treeb9eea1bcc58a4242eb8bf2bbb90aa92d03eff995 /Library/Formula/openssl.rb
parent54e0c0d286dae1f00651a6ffb376202388833b4d (diff)
downloadhomebrew-0ea73518b33e13b079a186353c549509826b24c2.tar.bz2
openssl: don't install man pages to 'etc'
Yes, it's keg-only and thus the man pages are never symlinked to share/man, but it's better than having them in etc/man and `brew list --unbrewed` complaining about them. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/openssl.rb')
-rw-r--r--Library/Formula/openssl.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/openssl.rb b/Library/Formula/openssl.rb
index 8da38d09c..eb6d516ab 100644
--- a/Library/Formula/openssl.rb
+++ b/Library/Formula/openssl.rb
@@ -13,6 +13,11 @@ class Openssl < Formula
system "./config", "--prefix=#{prefix}",
"--openssldir=#{etc}",
"zlib-dynamic", "shared"
+
+ inreplace 'Makefile' do |s|
+ s.change_make_var! 'MANDIR', man
+ end
+
ENV.j1 # Parallel compilation fails
system "make"
system "make test"