Attachment 'r-2.6.1.p22.patch'

Download

   1 --- r-2.6.1.p22/spkg-install~	2009-01-20 21:22:33.000000000 +1100
   2 +++ r-2.6.1.p22/spkg-install	2009-03-20 05:46:02.702566714 +1100
   3 @@ -21,7 +21,7 @@
   4  CUR=`pwd`
   5  
   6  # set CPPFLAGS so that Sage's readline is picked up
   7 -CPPFLAGS=-I"$SAGE_LOCAL"/inlcude; export CPPFLAGS
   8 +CPPFLAGS="-I$SAGE_LOCAL/include $CPPFLAGS"; export CPPFLAGS
   9  
  10  # copy an R file that has corrected R includes, i.e. <foo.h> vs. "foo.h"
  11  cp patches/sys-std.c src/src/unix/sys-std.c
  12 @@ -74,8 +74,17 @@
  13  
  14  # These flags are *critical* so that R will be built against Sage's 
  15  # copy of readline and ATLAS.
  16 -CFLAGS="-I$SAGE_LOCAL/include -L$SAGE_LOCAL/lib/ "$CFLAGS; export CFLAGS
  17 -LDFLAGS="-L$SAGE_LOCAL/lib/ "$LDFLAGS; export LDFLAGS   
  18 +CFLAGS="-I$SAGE_LOCAL/include -L$SAGE_LOCAL/lib/ $CFLAGS"; export CFLAGS
  19 +LDFLAGS="-L$SAGE_LOCAL/lib/ $LDFLAGS"; export LDFLAGS   
  20 
  21 +# FreeBSD needs the path to libiconv to be explicitly specified.  In theory,
  22 +# --with-libiconv-prefix should work but configure script is broken and
  23 +# ignores that path when looking for libiconv.  Hard-wire via xxFLAGS.
  24 +if [ `uname` = "FreeBSD" ]; then
  25 +    CPPFLAGS="$CPPFLAGS -I/usr/local/include"
  26 +    CFLAGS="$CFLAGS -I/usr/local/include"
  27 +    LDFLAGS="$LDFLAGS -L/usr/local/lib"
  28 +fi
  29 +
  30  # do not build recommended packages for now, for speed.
  31  

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2009-04-03 09:59:54, 1.7 KB) [[attachment:atlas-3.8.3.p0.txt]]
  • [get | view] (2009-04-03 10:00:08, 0.5 KB) [[attachment:base.txt]]
  • [get | view] (2009-04-03 10:00:32, 3.5 KB) [[attachment:clisp-2.46.p7.patch]]
  • [get | view] (2009-04-03 10:00:40, 0.4 KB) [[attachment:gd-2.0.35.p1.patch]]
  • [get | view] (2009-04-03 10:00:51, 0.3 KB) [[attachment:libgcrypt-1.4.3.p0.patch]]
  • [get | view] (2009-04-03 10:01:12, 0.3 KB) [[attachment:libgpg_error-1.6.p0.patch]]
  • [get | view] (2009-04-03 10:01:21, 2.0 KB) [[attachment:matplotlib-0.98.5.3rc0-svn6910.p3.patch]]
  • [get | view] (2009-04-03 10:01:43, 1.5 KB) [[attachment:numpy-1.2.0.p0.patch]]
  • [get | view] (2009-04-03 10:02:07, 1.0 KB) [[attachment:pari-2.3.3.p0.patch]]
  • [get | view] (2009-04-03 10:02:16, 0.8 KB) [[attachment:python-2.5.2.p9.patch]]
  • [get | view] (2009-04-03 10:02:24, 1.3 KB) [[attachment:r-2.6.1.p22.patch]]
  • [get | view] (2009-04-03 10:02:31, 0.8 KB) [[attachment:readline-5.2.p6.patch]]
  • [get | view] (2009-04-03 10:02:42, 1.3 KB) [[attachment:sage-3.4.patch]]
  • [get | view] (2009-03-28 21:23:23, 76.3 KB) [[attachment:sage-3.4.shar]]
  • [get | view] (2009-04-03 03:52:06, 25.7 KB) [[attachment:sage-3.4.tgz]]
  • [get | view] (2009-04-03 10:02:51, 0.6 KB) [[attachment:sage_scripts-3.4.patch]]
  • [get | view] (2009-04-03 10:02:57, 2.4 KB) [[attachment:singular-3-0-4-4-20080711.p4.patch]]
  • [get | view] (2009-04-03 10:03:26, 0.6 KB) [[attachment:tachyon-0.98beta.p8.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.