[MacPorts] #22866: ruby19 no longer +universal (LDFLAGS ignored)

MacPorts noreply at macports.org
Fri Jan 8 18:37:56 PST 2010


#22866: ruby19 no longer +universal (LDFLAGS ignored)
-----------------------------------+----------------------------------------
 Reporter:  jeremyhu@…             |       Owner:  brett@…           
     Type:  defect                 |      Status:  new               
 Priority:  Normal                 |   Milestone:                    
Component:  ports                  |     Version:  1.8.1             
 Keywords:  universal              |        Port:  ruby19            
-----------------------------------+----------------------------------------

Comment(by jeremyhu@…):

 Nope, that is not sufficient.  I tried that:

 {{{
 Index: Portfile
 ===================================================================
 --- Portfile    (revision 62470)
 +++ Portfile    (working copy)
 @@ -90,6 +90,18 @@
          configure.args-append   --enable-tcltk-framework
  }

 +pre-configure {
 +    set arch_list ""
 +    if {[variant_isset universal]} {
 +        foreach arch ${universal_archs} {
 +            set arch_list "${arch_list},${arch}"
 +        }
 +    } else {
 +        set arch_list "${configure.build_arch}"
 +    }
 +    configure.args-append --with-arch=${arch_list}
 +}
 +
  livecheck.type  regex
  livecheck.url   http://ftp.ruby-lang.org/pub/ruby/1.9/
  livecheck.regex ruby-(${version})${extract.suffix}

 }}}

 The problem persists.  See the full log attached.

-- 
Ticket URL: <http://trac.macports.org/ticket/22866#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list