Opened 12 years ago

Last modified 9 years ago

#33448 closed defect

libvpx: universal build fails — at Version 1

Reported by: devernay (Frédéric Devernay) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: libvpx

Description (last modified by ryandesign (Ryan Carsten Schmidt))

(seen with a ppc/i386 build on Leopard, I don't know if other universal builds fail the same way).

libvpx/Portfile uses muniversal, but the package uses a custom configure script which doesn't recognize the --host=... argument. Consequently, merger_host should be set to "" for all archs. Portfile should have

    foreach my_arch ${configure.universal_archs} {
        set merger_host(${my_arch}) ""

        set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}${os.major}-gcc
    }

instead of

    foreach my_arch ${configure.universal_archs} {
        set merger_configure_args(${my_arch}) --target=$my_targets(${my_arch})-${os.platform}${os.major}-gcc
    }

Change History (1)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: libvpx added

Remember to use WikiFormatting.

The universal variant work fine on Snow Leopard; I would not have committed it if I had not gotten it to work.

Could you please attach a main.log of the failure you experience?

Note: See TracTickets for help on using tickets.