badtouch: update openssl env var and comment

This commit is contained in:
commitay 2018-09-03 14:55:38 +10:00
parent 371a5c80b6
commit 54824673da

View file

@ -15,9 +15,9 @@ class Badtouch < Formula
depends_on "openssl"
def install
# Prevent cargo from linking against a different library
ENV["OPENSSL_INCLUDE_DIR"] = Formula["openssl"].opt_include
ENV["OPENSSL_LIB_DIR"] = Formula["openssl"].opt_lib
# Ensure that the `openssl` crate picks up the intended library.
# https://crates.io/crates/openssl#manual-configuration
ENV["OPENSSL_DIR"] = Formula["openssl"].opt_prefix
system "cargo", "install", "--root", prefix, "--path", "."
man1.install "docs/badtouch.1"