Ticket #53228: R-Portfile-take2.diff

File R-Portfile-take2.diff, 952 bytes (added by kjellpk (Kjell Konis), 8 years ago)
  • Portfile

    old new  
    5555
    5656    ## Check to see if this is fixed post 3.3.0
    5757    reinplace "s|<libintl.h>|\"libintl.h\"|" "${worksrcpath}/src/include/Defn.h"
     58
     59    reinplace "s|#ifdef ZLIB_VERSION|#ifdef ZLIB_VERSION\\\n  if(strlen(ZLIB_VERSION) == 6) exit(strncmp(ZLIB_VERSION, \"1.2.05\", 6) < 0);|" \
     60      "${worksrcpath}/configure"
    5861}
    5962
    6063# Note: gcc cannot be used for the C compiler. It will give:
     
    7881                            --enable-BLAS-shlib \
    7982                            --without-tcltk \
    8083                            --without-cairo \
    81                             --with-system-zlib \
    8284                            --without-internal-tzcode \
    8385                            --without-recommended-packages \
    8486                            --without-x \