[MacPorts] #31288: libelf needs '--disable-compat' to fix headers
MacPorts
noreply at macports.org
Fri Sep 16 07:26:37 PDT 2011
#31288: libelf needs '--disable-compat' to fix headers
--------------------------------------+-------------------------------------
Reporter: adfernandes@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port: libelf
--------------------------------------+-------------------------------------
In bug #14955, conflicting nlist.h headers were handled by deleting the
nlist.h used by libelf.
This is incorrect; both elf and mach-o have an "nlist.h" that are
incompatible. The system's is at /usr/include/nlist.h for mach-o formatted
objects.
Libelf [http://www.mr511.de/software/libelf-0.8.0.README] has a
"compatibility mode" where the headers are put in
`${prefix}/usr/include/libelf`, and this is preferred on OS X.
Patch attached. Okay to commit?
--
Ticket URL: <https://trac.macports.org/ticket/31288>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list