Ticket #54372: patch-Portfile-scidavis.diff

File patch-Portfile-scidavis.diff, 812 bytes (added by NicosPavlov, 6 years ago)
  • (a) Portfile-old vs. (b) Portfile-gcc

    a b  
    3535
    3636universal_variant   no
    3737
     38configure.compiler  macports-gcc-7
     39configure.pre_args-append  -spec macx-llvm
     40
    3841patchfiles          patch-OriginObj.diff
    3942
    4043configure.pre_args-append   "'CONFIG+=osx_dist noassistant'"
     
    4750    reinplace "s|/usr|${prefix}|g" ${worksrcpath}/fitPlugins/fitRational1/fitRational1.pro
    4851    reinplace "s|/usr|${prefix}|g" ${worksrcpath}/fitPlugins/planck_wavelength/planck_wavelength.pro
    4952
     53    reinplace "s|clang++|${configure.cxx}|g" ${worksrcpath}/config.pri
     54
    5055    if {${prefix} ne "/opt/local"} {
    5156        reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/config.pri
    5257        reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/mkMacDist.sh