Ticket #16166: Portfile.diff

File Portfile.diff, 1.6 KB (added by kjell.konis@…, 16 years ago)

Portfile revision

  • Portfile

    old new  
    44
    55name             R
    66version          2.7.1
     7revision         1
    78categories       math science
    89maintainers      kjell.konis@epfl.ch
    910platforms        darwin
     
    6768
    6869configure.args   --mandir=\\\${prefix}/share/man \
    6970                 --enable-R-shlib \
    70                  --with-blas='-framework vecLib' \
    71                  --with-lapack \
     71                 --disable-nls \
     72                 --without-libintl-prefix \
    7273                 --disable-R-framework \
    7374                 --without-aqua \
    7475                 --with-tcl-config=${prefix}/lib/tclConfig.sh \
     
    8889
    8990  system "install_name_tool -id ${prefix}/lib/R/lib/libR.dylib \
    9091    ${destroot}${prefix}/lib/R/lib/libR.dylib"
     92  system "install_name_tool -change libRblas.dylib ${prefix}/lib/R/lib/libRblas.dylib \
     93    ${destroot}${prefix}/lib/R/lib/libR.dylib"
     94
     95  system "install_name_tool -id ${prefix}/lib/R/lib/libRblas.dylib \
     96    ${destroot}${prefix}/lib/R/lib/libRblas.dylib"
     97
     98  system "install_name_tool -id ${prefix}/lib/R/lib/libRlapack.dylib \
     99    ${destroot}${prefix}/lib/R/lib/libRlapack.dylib"
     100  system "install_name_tool -change libRblas.dylib ${prefix}/lib/R/lib/libRblas.dylib \
     101    ${destroot}${prefix}/lib/R/lib/libRlapack.dylib"
     102  system "install_name_tool -change libR.dylib ${prefix}/lib/R/lib/libR.dylib \
     103    ${destroot}${prefix}/lib/R/lib/libRlapack.dylib"
    91104
    92105  foreach so [ exec find ${destroot}${prefix}/lib/R -name "\*.so" ] {
    93106    regsub ":$" ${so} "" destroot_so_path