Ticket #30331: Portfile.diff
File Portfile.diff, 2.2 KB (added by howarth@…, 13 years ago) |
---|
-
Portfile
old new 6 6 7 7 name pymol 8 8 version 1.4 9 revision 49 revision 5 10 10 categories science 11 11 maintainers bromo.med.uc.edu:howarth 12 12 description Molecular graphics system … … 21 21 master_sites sourceforge 22 22 fetch.type svn 23 23 svn.url https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol 24 svn.revision 396 224 svn.revision 3964 25 25 worksrcdir pymol 26 26 27 27 depends_lib port:freetype port:libpng port:python26 port:py26-pmw port:py26-numpy port:py26-scipy port:mesa port:glew port:py26-tkinter … … 37 37 38 38 use_parallel_build yes 39 39 40 platform darwin 11 { 41 python.add_archflags no 42 build.env CC="/usr/bin/clang" CXX="/usr/bin/clang++" 40 if {${configure.compiler} == "llvm-gcc-4.2"} { 41 configure.compiler clang 43 42 } 44 43 45 44 variant gcc43 description conflicts gcc44 gcc45 gcc46 description {build using macports-gcc-4.3} { 46 45 depends_lib-append port:gcc43 47 46 python.add_archflags no 48 build.env CC="${prefix}/bin/gcc-mp-4.3" CXX="${prefix}/bin/g++-mp-4.3"47 configure.compiler macports-gcc-4.3 49 48 } 50 49 51 50 variant gcc44 description conflicts gcc43 gcc45 gcc46 description {build using macports-gcc-4.4} { 52 51 depends_lib-append port:gcc44 53 52 python.add_archflags no 54 build.env CC="${prefix}/bin/gcc-mp-4.4" CXX="${prefix}/bin/g++-mp-4.4"53 configure.compiler macports-gcc-4.4 55 54 } 56 55 57 56 variant gcc45 description conflicts gcc43 gcc44 gcc46 description {build using macports-gcc-4.5} { 58 57 depends_lib-append port:gcc45 59 58 python.add_archflags no 60 build.env CC="${prefix}/bin/gcc-mp-4.5" CXX="${prefix}/bin/g++-mp-4.5"59 configure.compiler macports-gcc-4.5 61 60 } 62 61 63 62 variant gcc46 description conflicts gcc43 gcc44 gcc45 description {build using macports-gcc-4.6} { 64 63 depends_lib-append port:gcc46 65 64 python.add_archflags no 66 build.env CC="${prefix}/bin/gcc-mp-4.6" CXX="${prefix}/bin/g++-mp-4.6" 65 configure.compiler macports-gcc-4.6 66 } 67 68 pre-build { 69 build.env CC="${configure.cc}" CXX="${configure.cxx}" 67 70 } 68 71 69 72 post-destroot {