pkg:setup openssl = Formula["openssl"] inreplace "configure" do |s| s.gsub! 'SSL_IPATH=""', "SSL_IPATH=\"#{openssl.opt_include}/openssl\"" s.gsub! 'SSL_PATH=""', "SSL_PATH=\"#{openssl.opt_lib}\"" s.gsub! 'CRYPTO_PATH=""', "CRYPTO_PATH=\"#{openssl.opt_lib}\""