Ticket #53228: R-Portfile.diff

File R-Portfile.diff, 1.2 KB (added by kjellpk (Kjell Konis), 7 years ago)
  • Portfile

    old new  
    1212
    1313#Remember to remove revision line when bumping version
    1414version                     ${major}.${minor}.${point}
     15revision                    1
    1516
    1617categories                  math science
    1718maintainers                 me.com:kjell.konis
     
    5556
    5657    ## Check to see if this is fixed post 3.3.0
    5758    reinplace "s|<libintl.h>|\"libintl.h\"|" "${worksrcpath}/src/include/Defn.h"
     59
     60    reinplace "s|#ifdef ZLIB_VERSION|#ifdef ZLIB_VERSION\\\n  if(strlen(ZLIB_VERSION) == 6) exit(strncmp(ZLIB_VERSION, \"1.2.05\", 6) < 0);|" \
     61      "${worksrcpath}/configure"
    5862}
    5963
    6064# Note: gcc cannot be used for the C compiler. It will give:
     
    7882                            --enable-BLAS-shlib \
    7983                            --without-tcltk \
    8084                            --without-cairo \
    81                             --with-system-zlib \
    8285                            --without-internal-tzcode \
    8386                            --without-recommended-packages \
    8487                            --without-x \