Ticket #22178: Portfile-pine.diff

File Portfile-pine.diff, 1.0 KB (added by BlackFrog1, 14 years ago)

Patch ui_error message and added checksum for sha1 and rmd160

  • Portfile

    old new  
    1515
    1616master_sites    ftp://ftp.cac.washington.edu/pine/ \
    1717                ftp://ftp.cac.washington.edu/pine/old/
    18 checksums   md5 75af127948cc0c701d424d22d621f792
     18checksums   md5    75af127948cc0c701d424d22d621f792 \
     19            sha1   ff73928c51bfd3786cd6b49d84120e12ab5d5c1c \
     20            rmd160 e72c46f7e3b70cc25bf98a78bca75f4bea6f089d
    1921distname        ${name}${version}
    2022extract.suffix  .tar.Z
    2123
     
    3032    macosx_deployment_target 10.4
    3133}
    3234
    33 if {${os.platform} == "darwin" && ${os.major} >= 10} {
    34     pre-fetch {
    35         return -code error "$name does not build on Snow Leopard. Consider using alpine instead."
    36     }
     35pre-fetch {
     36        if {${os.platform} == "darwin" && ${os.major} >= 10} {
     37                ui_error "Pine development ended with version 4.64 and evolved into the upwards-compatible replacement Alpine.  Also, this version does not build on Snow Leopard."
     38                return -code error "incompatible Mac OS X version"
     39        }
    3740}
    3841
    3942destroot        { xinstall -m 755 -d \