We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0c333c + da03512 commit 1f029e1Copy full SHA for 1f029e1
Formula/p/puf.rb
@@ -24,9 +24,15 @@ class Puf < Formula
24
end
25
26
def install
27
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
28
- "--prefix=#{prefix}",
29
- "--mandir=#{man}"
+ args = []
+ # Help old config scripts identify arm64 linux
+ args << "--build=aarch64-unknown-linux-gnu" if OS.linux? && Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
30
+
31
+ system "./configure", "--mandir=#{man}", *args, *std_configure_args
32
system "make", "install"
33
34
35
+ test do
36
+ system bin/"puf", "-r", "example.com"
37
+ end
38
0 commit comments