From 09b84282bb41dd7c1df048b96939edeacdfcfaa0 Mon Sep 17 00:00:00 2001 From: Jim Yeh Date: Tue, 21 May 2019 09:13:40 +0800 Subject: [PATCH] argon2: add the `PREFIX` parameter for make Closes #41557. Signed-off-by: Jim Yeh Signed-off-by: Sean Molenaar --- Formula/argon2.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Formula/argon2.rb b/Formula/argon2.rb index 151992b656..19e5f36611 100644 --- a/Formula/argon2.rb +++ b/Formula/argon2.rb @@ -3,6 +3,7 @@ class Argon2 < Formula homepage "https://github.com/P-H-C/phc-winner-argon2" url "https://github.com/P-H-C/phc-winner-argon2/archive/20190702.tar.gz" sha256 "daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c" + revision 1 head "https://github.com/P-H-C/phc-winner-argon2.git" bottle do @@ -13,9 +14,9 @@ class Argon2 < Formula end def install - system "make" + system "make", "PREFIX=#{prefix}", "ARGON2_VERSION=#{version}" system "make", "test" - system "make", "install", "PREFIX=#{prefix}" + system "make", "install", "PREFIX=#{prefix}", "ARGON2_VERSION=#{version}" doc.install "argon2-specs.pdf" end