aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorCharlie Sharpsteen2011-04-13 09:14:46 -0700
committerAdam Vandenberg2011-04-13 09:34:43 -0700
commit04fe60f98d13ddd5d070ca53fc4a1722ee3af23a (patch)
treec9aac04267398311081360e83a9b0d4c4b989708 /Library
parent46b835bf73a778141e283b8c62ea8c14035dca74 (diff)
downloadhomebrew-04fe60f98d13ddd5d070ca53fc4a1722ee3af23a.tar.bz2
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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/r.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/r.rb b/Library/Formula/r.rb
index 516ab1f25..3326cb089 100644
--- a/Library/Formula/r.rb
+++ b/Library/Formula/r.rb
@@ -1,12 +1,15 @@
require 'formula'
class R < Formula
- url 'http://cran.r-project.org/src/base/R-2/R-2.12.2.tar.gz'
+ url 'http://cran.r-project.org/src/base/R-2/R-2.13.0.tar.gz'
homepage 'http://www.R-project.org/'
- md5 'bc70b51dddab8aa39066710624e55d5e'
+ md5 'ecfb928067cfd932e75135f8b8bba3e7'
def install
ENV.fortran
+ ENV.x11 # So PNG gets added to the x11 and cairo plotting devices
+ ENV['OBJC'] = ENV['CC']
+ ENV['OBJCFLAGS'] = ENV['CFLAGS']
system "./configure", "--prefix=#{prefix}",
"--with-aqua",