pth: fix strict audit failures.
This commit is contained in:
parent
588a81c72f
commit
3cd7329df1
1 changed files with 11 additions and 9 deletions
|
@ -1,10 +1,8 @@
|
|||
require 'formula'
|
||||
|
||||
class Pth < Formula
|
||||
homepage 'http://www.gnu.org/software/pth/'
|
||||
url 'http://ftpmirror.gnu.org/pth/pth-2.0.7.tar.gz'
|
||||
mirror 'http://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz'
|
||||
sha1 '9a71915c89ff2414de69fe104ae1016d513afeee'
|
||||
homepage "http://www.gnu.org/software/pth/"
|
||||
url "http://ftpmirror.gnu.org/pth/pth-2.0.7.tar.gz"
|
||||
mirror "http://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz"
|
||||
sha1 "9a71915c89ff2414de69fe104ae1016d513afeee"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -16,10 +14,14 @@ class Pth < Formula
|
|||
|
||||
def install
|
||||
ENV.deparallelize
|
||||
# Note: shared library will not be build with --disable-debug, so don't add that flag
|
||||
# Note: shared library will not be build with --disable-debug, so don"t add that flag
|
||||
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
|
||||
system "make"
|
||||
system "make test"
|
||||
system "make install"
|
||||
system "make", "test"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/pth-config", "--all"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue