uftp: move to OpenSSL 1.1

Closes #43565.

Signed-off-by: Igor Kapkov <igasgeek@me.com>
This commit is contained in:
Igor Kapkov 2019-08-29 09:54:51 +10:00
parent f0e231daa1
commit 1d6542203f
No known key found for this signature in database
GPG key ID: D7EEA6CEB7ECBDC7

View file

@ -11,10 +11,10 @@ class Uftp < Formula
sha256 "f07b4b2fef5ad1d292c7e54591ac2ba3a99625483621ad0154907c28ed79cf08" => :sierra
end
depends_on "openssl"
depends_on "openssl@1.1"
def install
system "make", "OPENSSL=#{Formula["openssl"].opt_prefix}", "DESTDIR=#{prefix}", "install"
system "make", "OPENSSL=#{Formula["openssl@1.1"].opt_prefix}", "DESTDIR=#{prefix}", "install"
# the makefile installs into DESTDIR/usr/..., move everything up one and remove usr
# the project maintainer was contacted via sourceforge on 12-Feb, he responded WONTFIX on 13-Feb
prefix.install Dir["#{prefix}/usr/*"]