Ticket #31789: par2-clang.diff

File par2-clang.diff, 712 bytes (added by macfreek (Freek Dijkstra), 13 years ago)

Fix (diff for Portfile)

  • Portfile

    old new  
    44
    55name              par2
    66version           0.4
    7 revision          2
     7revision          3
    88description       Parchive: Parity Archive Volume Set for data recovery
    99
    1010long_description  Parchive takes .par files and can regenerate missing data \
     
    3333test.run          yes
    3434test.target       check
    3535
     36if {${configure.compiler} == "clang"} {
     37    configure.compiler llvm-gcc-4.2
     38}
     39
    3640post-destroot {
    3741    set docdir ${prefix}/share/doc/${name}-${version}
    3842    xinstall -d ${destroot}${docdir}