Ticket #22087: pymol-ryandesign.diff
File pymol-ryandesign.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
Portfile
40 40 41 41 post-configure { 42 42 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 } 43 47 } 44 48 45 49 use_parallel_build no 46 build.args -f Makefile.delsci \ 50 pre-build { 51 build.args -f Makefile.delsci \ 47 52 CC=${configure.cc} \ 48 53 CXX=${configure.cxx} 54 } 55 56 variant 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 61 variant 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 } 49 65 50 66 destroot { 51 67 file mkdir ${destroot}${prefix}/lib/pymol/bin