Opened 16 years ago

Last modified 14 years ago

#14397 closed defect

libmikmod not universal, despite specification in variants.conf — at Version 4

Reported by: dhaines@… Owned by: eridius@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: libmikmod

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

With "+universal" in variants.conf, libmikmod doesn't fully compile as universal. A sudo port install libmikmod (even with +universal) creates a universal libmikmod.3.0.0.dylib, but the libmikmod.a is i386 only (on a MacBook Pro).

"file libmikmod*" gives the following:
libmikmod.3.0.0.dylib: Mach-O dynamically linked shared library i386
libmikmod.3.dylib:     Mach-O dynamically linked shared library i386
libmikmod.a:           Mach-O universal binary with 2 architectures
libmikmod.a (for architecture i386):	current ar archive random library
libmikmod.a (for architecture ppc):	current ar archive random library
libmikmod.dylib:       Mach-O dynamically linked shared library i386
libmikmod.la:          ASCII English text

I don't know where to file this, as universal isn't in the Portfile.

Change History (4)

comment:1 Changed 16 years ago by afb@…

This might be because libmikmod port hardcodes configure.cflags ?

configure.cflags    "-no-cpp-precomp -Os"

comment:2 Changed 16 years ago by afb@…

Component: baseports
Keywords: libmikmod added
Milestone: MacPorts base bugsPort Bugs

comment:3 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to eridius@…

Assigning to maintainer.

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: libmikmod added

Other way around: the .a is universal but the .dylib is not. It's not surprising though, since libmikmod 3.2.0-beta2 is from Feb 20, 2004, well before there were any Intel Macs. And there isn't a later version available.

Since the maintainer hasn't responded, I turned off the universal variant for now, in r42922.

Note: See TracTickets for help on using tickets.