Ticket #22087: pymol-ryandesign.diff

File pymol-ryandesign.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago)
  • Portfile

     
    4040
    4141post-configure {
    4242    copy ${worksrcpath}/setup/Rules.osx-fink ${worksrcpath}/Rules.delsci
     43    if { [variant_isset gcc43] || [variant_isset gcc44] } {
     44        reinplace  "s| -no-cpp-precomp||g"          ${worksrcpath}/Rules.delsci
     45        reinplace  "s|^BUILD = |BUILD = -lstdc++ |" ${worksrcpath}/Rules.delsci
     46    }
    4347}
    4448
    4549use_parallel_build  no
    46 build.args          -f Makefile.delsci \
     50pre-build {
     51    build.args      -f Makefile.delsci \
    4752                    CC=${configure.cc} \
    4853                    CXX=${configure.cxx}
     54}
     55
     56variant gcc43 description conflicts gcc44 description {build using macports-gcc-4.3} {
     57    depends_lib-append      port:gcc43
     58    configure.compiler      macports-gcc-4.3
     59}
     60
     61variant gcc44 description conflicts gcc43 description {build using macports-gcc-4.4} {
     62    depends_lib-append      port:gcc44
     63    configure.compiler      macports-gcc-4.4
     64}
    4965
    5066destroot {
    5167    file mkdir ${destroot}${prefix}/lib/pymol/bin