Ticket #31994: Portfile.patch

File Portfile.patch, 629 bytes (added by mni@…, 12 years ago)

New Portfile.patch :)

  • Portfile

    old new  
    2828
    2929configure.args  --mandir=${prefix}/share/man
    3030
     31if {${configure.compiler} == "clang" ||
     32    ${configure.compiler} == "llvm-gcc-4.2"} {
     33    configure.compiler gcc-4.2
     34    if {![file executable ${configure.cc}]} {
     35        depends_build-append port:apple-gcc42
     36        configure.compiler apple-gcc-4.2
     37        # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
     38        configure.cxx ${prefix}/bin/g++-apple-4.2
     39    }
     40}
     41
    3142livecheck.url   ${homepage}
    3243livecheck.regex {/pwman-(.+?)/ChangeLog}
    3344