[MacPorts] #39761: llvm-3.3 can't link on Leopard/PPC

MacPorts noreply at macports.org
Fri Jul 26 09:08:31 PDT 2013


#39761: llvm-3.3 can't link on Leopard/PPC
------------------------+-----------------------------
  Reporter:  khepler@…  |      Owner:  jeremyhu@…
      Type:  defect     |     Status:  reopened
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.1.3
Resolution:             |   Keywords:  leopard powerpc
      Port:  llvm-3.3   |
------------------------+-----------------------------

Comment (by jeremyhu@…):

 I think the easiest way at this point is just to force them off if ppc is
 a build arch.  For example, something like this:

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 108504)
 +++ Portfile    (working copy)
 @@ -105,6 +105,13 @@
      select.file         ${filespath}/mp-${subport}
  }

 +# https://trac.macports.org/ticket/39761
 +# If building to run on ppc, only build "Apple" targets to conserve space
 +if {${build_arch} == "ppc" || ([variant_isset universal] && [lsearch
 ${universal_archs} ppc] != -1)} {
 +    configure.args-append \
 +        --enable-targets="x86 x86_64 powerpc arm"
 +}
 +
  # g++-4.0 fails to build some of the newer C++ for ppc
  # Intel looks ok, but I prefer using gcc-4.2 for consistency
  compiler.blacklist gcc-4.0
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/39761#comment:13>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list