Ticket #48528: gcc5.5.0.patch
File gcc5.5.0.patch, 1.3 KB (added by nortcele, 7 years ago) |
---|
-
Portfile
old new 68 68 ${destroot}${prefix}/share/man/man1 69 69 } 70 70 71 variant gcc45 conflicts gcc47 description {Build using gcc45} {71 variant gcc45 conflicts gcc47 gcc5 description {Build using gcc45} { 72 72 configure.compiler macports-gcc-4.5 73 73 set versuff -mp-4.5 74 74 } 75 75 76 variant gcc47 conflicts gcc45 description {Build using gcc47} {76 variant gcc47 conflicts gcc45 gcc5 description {Build using gcc47} { 77 77 configure.compiler macports-gcc-4.7 78 78 set versuff -mp-4.7 79 79 } 80 80 81 if {![variant_isset gcc45] && ![variant_isset gcc47]} { 82 default_variants +gcc47 81 variant gcc5 conflicts gcc45 gcc47 description {Build using gcc5} { 82 configure.compiler macports-gcc-5 83 set versuff -mp-5 83 84 } 84 85 85 platform darwin { 86 pre-fetch { 87 if {${os.major} > 14} { 88 ui_error "${subport} currently does not build on OS X 10.11 or greater." 89 ui_error "See https://trac.macports.org/ticket/48528" 90 return -code error "incompatible OS X version" 91 } 92 } 86 if {![variant_isset gcc45] && ![variant_isset gcc47] && ![variant_isset gcc5]} { 87 default_variants +gcc5 93 88 } 94 89 95 90 livecheck.type regex