Ticket #26787: Portfile-R.diff

File Portfile-R.diff, 842 bytes (added by kjell.konis@…, 14 years ago)
  • Portfile

    old new  
    44
    55name             R
    66version          2.11.1
    7 revision         1
     7revision         2
    88categories       math science
    99maintainers      epfl.ch:kjell.konis
    1010platforms        darwin
     
    106106
    107107  reinplace "s|rlibdir=\$\{rhome\}/lib|rlibdir=\$\{rhome\}/lib/${build_arch}|" \
    108108            "${destroot}${prefix}/lib/pkgconfig/libR.pc"
     109  reinplace "s|Cflags: -I\$\{rincludedir\}|Cflags: -I\$\{rincludedir\} -I\$\{rincludedir\}/${build_arch}|" \
     110            "${destroot}${prefix}/lib/pkgconfig/libR.pc"
    109111
    110112  foreach dylib [ exec find ${destroot}${prefix}/lib/R/lib/${build_arch} -name "\*.dylib" ] {
    111113    regsub ":$" ${dylib} "" destroot_dylib_path