Skip to content
This repository
Browse code

Update R to 2.13.0

Also ensures the PNG drivers get built for x11 and Cairo graphics devices and
that the Objective C compiler is configured along with other Homebrew
compilers.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
commit 04fe60f98d13ddd5d070ca53fc4a1722ee3af23a 1 parent 46b835b
Charlie Sharpsteen authored April 13, 2011 adamv committed April 13, 2011

Showing 1 changed file with 5 additions and 2 deletions. Show diff stats Hide diff stats

  1. 7  Library/Formula/r.rb
7  Library/Formula/r.rb
... ...
@@ -1,12 +1,15 @@
1 1
 require 'formula'
2 2
 
3 3
 class R < Formula
4  
-  url 'http://cran.r-project.org/src/base/R-2/R-2.12.2.tar.gz'
  4
+  url 'http://cran.r-project.org/src/base/R-2/R-2.13.0.tar.gz'
5 5
   homepage 'http://www.R-project.org/'
6  
-  md5 'bc70b51dddab8aa39066710624e55d5e'
  6
+  md5 'ecfb928067cfd932e75135f8b8bba3e7'
7 7
 
8 8
   def install
9 9
     ENV.fortran
  10
+    ENV.x11 # So PNG gets added to the x11 and cairo plotting devices
  11
+    ENV['OBJC'] = ENV['CC']
  12
+    ENV['OBJCFLAGS'] = ENV['CFLAGS']
10 13
 
11 14
     system "./configure", "--prefix=#{prefix}",
12 15
                           "--with-aqua",

0 notes on commit 04fe60f

Please sign in to comment.
Something went wrong with that request. Please try again.