Ticket #30462: patch-valgrind-portfile.diff

File patch-valgrind-portfile.diff, 887 bytes (added by dean.povey@…, 13 years ago)

Patch to valgrind portfile to support lion

  • Portfile

    old new  
    2929extract.post_args-append --exclude=${distname}/docs/html/FAQ.html
    3030
    3131pre-configure {
    32     if {"darwin" == ${os.platform} && (${os.major} < 9 || ${os.major} > 10)} {
    33         ui_error "${name} ${version} is only compatible with Mac OS X 10.5 or 10.6."
     32    if {"darwin" == ${os.platform} && (${os.major} < 9 || ${os.major} > 11)} {
     33        ui_error "${name} ${version} is only compatible with Mac OS X 10.5, 10.6 and 10.7"
    3434        return -code error "incompatible Mac OS X version"
    3535    }
    3636}
     
    4545    use_autoreconf yes
    4646}
    4747
     48# Patch for lion support
     49if {"darwin" == ${os.platform} && (${os.major} == 11)} {
     50    patchfiles-append   patch-lion-configure.diff
     51}
     52
    4853configure.args  --mandir=${prefix}/share/man \
    4954                --without-mpicc
    5055