Ticket #1939: Sage-2.10.1.rc0-fix-rpy-import-on-OSX.patch

File Sage-2.10.1.rc0-fix-rpy-import-on-OSX.patch, 785 bytes (added by mabshoff, 13 years ago)
  • sage-env

    # HG changeset patch
    # User mabshoff@bsd.local
    # Date 1201354656 28800
    # Node ID cc7b378af2463ae0e5de1d3fe77216722c7852a4
    # Parent  a8ee9eabf32e1ea9250341de04f16c5b61fe3d6e
    Add $SAGE_LOCAL/lib/R/lib to DYLD_LIBRARY_PATH on OSX to satisfy rpy
    
    diff -r a8ee9eabf32e -r cc7b378af246 sage-env
    a b LD_LIBRARY_PATH="$SAGE_ROOT/local/lib/op 
    129129# Singular install).
    130130if [ `uname` = "Darwin" ]; then
    131131    SAGE_ORIG_DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH
    132     DYLD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DYLD_LIBRARY_PATH" && export DYLD_LIBRARY_PATH
     132    DYLD_LIBRARY_PATH="$LD_LIBRARY_PATH:$DYLD_LIBRARY_PATH:$SAGE_LOCAL/lib/R/lib" && export DYLD_LIBRARY_PATH
    133133fi
    134134
    135135if [ "$1" = "-short" ]; then