aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTrevor Wennblom2011-08-29 13:36:02 -0500
committerAdam Vandenberg2011-08-30 15:19:13 -0700
commitf9c893a08254dfd409a4d0667cd032753ec4a6de (patch)
tree64eb531d7ceed99e178812bcffa3f96c3c47e223 /Library
parentdc9e4ab1acb084dc655f489484adde0c03edc323 (diff)
downloadhomebrew-f9c893a08254dfd409a4d0667cd032753ec4a6de.tar.bz2
ilmbase 1.0.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ilmbase.rb25
1 files changed, 7 insertions, 18 deletions
diff --git a/Library/Formula/ilmbase.rb b/Library/Formula/ilmbase.rb
index 87877893d..7c37fced0 100644
--- a/Library/Formula/ilmbase.rb
+++ b/Library/Formula/ilmbase.rb
@@ -1,30 +1,19 @@
require 'formula'
class Ilmbase < Formula
- url 'http://download.savannah.gnu.org/releases/openexr/ilmbase-1.0.1.tar.gz'
+ url 'http://download.savannah.gnu.org/releases/openexr/ilmbase-1.0.2.tar.gz'
homepage 'http://www.openexr.com/'
- md5 'f76f094e69a6079b0beb93d97e2a217e'
+ md5 '26c133ee8ca48e1196fbfb3ffe292ab4'
- def patches
- DATA
- end
+ # included for reference only - repository doesn't have 'configure' script
+ # head 'cvs://:pserver:anonymous@cvs.sv.gnu.org:/sources/openexr:IlmBase'
def install
+ # prevent 'cc1plus: error: unrecognized command line option "-Wno-long-double"'
+ inreplace 'configure', 'CXXFLAGS="$CXXFLAGS -Wno-long-double"', ''
+
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end
-__END__
---- a/configure
-+++ b/configure
-@@ -21049,7 +21049,7 @@ Please re-run configure with these options:
- CXXFLAGS="$CXXFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386"
- fi
-
-- CXXFLAGS="$CXXFLAGS -Wno-long-double"
-+ CXXFLAGS="$CXXFLAGS"
- ;;
- esac
-
-