Opened 10 years ago
Closed 10 years ago
#44471 closed defect (fixed)
libffi: libffi.pc is broken
Reported by: | jf (Jeffrey 'jf' Lim) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | haspatch | Cc: | cooljeanius (Eric Gallager) |
Port: | libffi |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
s/toolexeclibdir=$(libdir)/toolexeclibdir=${libdir}/
This breaks 'pkg-config --libs libffi', and results in failure to link anything with libffi.
Change History (4)
comment:1 Changed 10 years ago by jf (Jeffrey 'jf' Lim)
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | haspatch added |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | libffi added |
Status: | new → assigned |
Summary: | libffi.pc is broken for libffi → libffi: libffi.pc is broken |
Thanks!
comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Confirmation and patch available at https://sourceware.org/ml/libffi-discuss/2014/msg00065.html. The patch is for configure.ac, though, and requires a regeneration of 'configure'. It would be simpler (and really, that's all that's needed) to simply patch 'configure' directly, and then wait for the (soon? hopefully?) new release to be released with the fix upstream.
For now, this patch should do very nicely for macports (I'm only bothering to fix lines that will affect macports, btw, in order to keep the patch shorter):