Ticket #34395: Portfile.patch

File Portfile.patch, 911 bytes (added by adfernandes (Andrew Fernandes), 12 years ago)
  • Portfile

     
    2525                    has full control on generated code quality, CLooG is designed to avoid \
    2626                    control overhead and to produce a very effective code.
    2727
     28license             LGPL-2+
    2829homepage            http://repo.or.cz/w/cloog.git
    2930master_sites        http://www.bastoul.net/cloog/pages/download/count.php3?url=./
    3031
     
    3435
    3536depends_lib         port:gmp
    3637
     38post-destroot {
     39    # Remove extraneous '-arch' flag from the 'pkgconfig' files (#34395)
     40    foreach file [ glob -directory ${destroot}${prefix}/lib/pkgconfig *.pc ] {
     41        reinplace -E "s@-arch +\[A-Za-z0-9_\]+ +@@g" "${file}"
     42    }
     43}
     44
    3745livecheck.type      regex
    3846livecheck.url       ${master_sites}
    3947livecheck.regex     ${name}-(\[0-9.\]+)\\.tar.gz