Ticket #44557: valgrind-devel-3.10.0-BETA.1.diff

File valgrind-devel-3.10.0-BETA.1.diff, 1.8 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)

proposed patch

  • Portfile

     
    66
    77name                valgrind
    88version             3.9.0
    9 revision            1
    109categories          devel
    1110platforms           darwin
    1211supported_archs     i386 x86_64
     
    8382
    8483if {$subport eq $name} {
    8584    conflicts           valgrind-devel
     85
     86    revision            1
     87
    8688    use_bzip2           yes
    8789
    8890    # Avoid conflict of faq.html and FAQ.html, #30541
     
    9092
    9193    pre-fetch {
    9294        if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 12)} {
    93             ui_error "${name} ${version} is only compatible with Mac OS X 10.5, 10.6, 10.7 and 10.8"
     95            ui_error "${subport} @${version} is only compatible with Mac OS X 10.5, 10.6, 10.7 and 10.8"
    9496            return -code error "incompatible Mac OS X version"
    9597        }
    9698    }
     
    106108subport valgrind-devel {
    107109    conflicts           valgrind
    108110
    109     svn.revision        13710
    110     set vex_revision    2797
    111     version             3.9.0-r${svn.revision}
    112     revision            1
     111    svn.revision        14428
     112    set vex_revision    2941
     113    version             3.10.0-BETA.1
     114    revision            0
    113115
    114116    fetch.type      svn
    115117    svn.url         svn://svn.valgrind.org/valgrind/trunk
     
    120122        system -W ${worksrcpath} "${svn.cmd} ${svn.pre_args} ${svn.method} svn://svn.valgrind.org/vex/trunk@${vex_revision} VEX"
    121123    }
    122124
     125    pre-fetch {
     126        if {${os.platform} eq "darwin" && (${os.major} < 9 || ${os.major} > 13)} {
     127            ui_error "${subport} @${version} is only compatible with Mac OS X 10.5, 10.6, 10.7, 10.8 and 10.9"
     128            return -code error "incompatible Mac OS X version"
     129        }
     130    }
     131
    123132    livecheck.type none
    124133}