Ticket #50511: Portfile.diff

File Portfile.diff, 485 bytes (added by howarth.at.macports@…, 8 years ago)

update to apply against current Portfile

  • Portfile

    old new  
    5353configure.args-append   -DCMAKE_INSTALL_RPATH=${prefix}/lib/libomp \
    5454                        -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib/libomp \
    5555
     56if {${build_arch} eq "x86_64"} {
     57    configure.args-append   -DLIBOMP_OSX_ARCHITECTURES="x86_64\;i386"
     58}
     59
    5660variant top_level description \
    5761    "Install (links to) omp.h and libs into ${prefix}/(include|lib)" {}
    5862