From 20a4948c83e63e204a72970f4db48aa8ada11757 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 21 Mar 2011 13:35:53 -0700 Subject: [PATCH] Very pedantic audit fixes --- Formula/dotwrp.rb | 2 +- Formula/jslint4java.rb | 6 +++--- Formula/libdvdread.rb | 20 +++++++++++--------- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/Formula/dotwrp.rb b/Formula/dotwrp.rb index 5154d6a05d..b9c39e01f0 100644 --- a/Formula/dotwrp.rb +++ b/Formula/dotwrp.rb @@ -8,7 +8,7 @@ class Dotwrp < Formula def install ENV.fortran - # note: fno-underscoring is vital to override the symbols in Accelerate + # note: fno-underscoring is vital to override the symbols in Accelerate system "#{ENV["FC"]} #{ENV["FFLAGS"]} -fno-underscoring -c dotwrp.f90" system "/usr/bin/ar -cru libdotwrp.a dotwrp.o" system "/usr/bin/ranlib libdotwrp.a" diff --git a/Formula/jslint4java.rb b/Formula/jslint4java.rb index ac64f93669..d41765e81d 100644 --- a/Formula/jslint4java.rb +++ b/Formula/jslint4java.rb @@ -7,9 +7,9 @@ class Jslint4java < Formula version '1.4.6' def install - prefix.install Dir['*'] - bin.mkpath - (bin + 'jslint4java').write <<-EOF.undent + prefix.install Dir['*'] + bin.mkpath + (bin + 'jslint4java').write <<-EOF.undent #!/bin/bash java -jar #{prefix}/jslint4java-1.4.6.jar "$@" EOF diff --git a/Formula/libdvdread.rb b/Formula/libdvdread.rb index 13a3720a5c..f7183d25bc 100644 --- a/Formula/libdvdread.rb +++ b/Formula/libdvdread.rb @@ -1,15 +1,17 @@ require 'formula' class Libdvdread < Formula - url 'http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-0.9.7.tar.gz' - homepage 'http://www.dtek.chalmers.se/groups/dvd/' - md5 '078788c9241ae16763529e1235502337' + url 'http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-0.9.7.tar.gz' + homepage 'http://www.dtek.chalmers.se/groups/dvd/' + md5 '078788c9241ae16763529e1235502337' - depends_on 'libdvdcss' => :optional + depends_on 'libdvdcss' => :optional - def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}", "--mandir=#{man}", "--with-libdvdcss" - system "make install" - end + def install + system "./configure", "--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--mandir=#{man}", + "--with-libdvdcss" + system "make install" + end end