[MacPorts] #44471: libffi.pc is broken for libffi
#44471: libffi.pc is broken for libffi -------------------------+-------------------------------- Reporter: jfs.world@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: -------------------------+-------------------------------- s/toolexeclibdir=$(libdir)/toolexeclibdir=${libdir}/ This breaks 'pkg-config --libs libffi', and results in failure to link anything with libffi. -- Ticket URL: <https://trac.macports.org/ticket/44471> MacPorts <http://www.macports.org/> Ports system for OS X
#44471: libffi.pc is broken for libffi --------------------------+-------------------------------- Reporter: jfs.world@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: | --------------------------+-------------------------------- Comment (by jfs.world@…): 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): {{{ --- configure.orig 2014-07-29 17:25:49.000000000 +0800 +++ configure 2014-07-29 17:25:36.000000000 +0800 @@ -18789,8 +18789,8 @@ toolexecdir='$(exec_prefix)/$(target_alias)' toolexeclibdir='$(toolexecdir)/lib' else - toolexecdir='$(libdir)/gcc-lib/$(target_alias)' - toolexeclibdir='$(libdir)' + toolexecdir='${libdir}/gcc-lib/$(target_alias)' + toolexeclibdir='${libdir}' fi multi_os_directory=`$CC $CFLAGS -print-multi-os-directory` case $multi_os_directory in @@ -18799,7 +18799,7 @@ esac else - toolexeclibdir='$(libdir)' + toolexeclibdir='${libdir}' fi }}} -- Ticket URL: <https://trac.macports.org/ticket/44471#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44471: libffi: libffi.pc is broken --------------------------+-------------------------- Reporter: jfs.world@… | Owner: ryandesign@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: haspatch Port: libffi | --------------------------+-------------------------- Changes (by ryandesign@…): * status: new => assigned * owner: macports-tickets@… => ryandesign@… * keywords: => haspatch * port: => libffi Old description:
s/toolexeclibdir=$(libdir)/toolexeclibdir=${libdir}/
This breaks 'pkg-config --libs libffi', and results in failure to link anything with libffi.
New description: {{{ s/toolexeclibdir=$(libdir)/toolexeclibdir=${libdir}/ }}} This breaks 'pkg-config --libs libffi', and results in failure to link anything with libffi. -- Comment: Thanks! -- Ticket URL: <https://trac.macports.org/ticket/44471#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44471: libffi: libffi.pc is broken --------------------------+-------------------------- Reporter: jfs.world@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: haspatch Port: libffi | --------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r122796 -- Ticket URL: <https://trac.macports.org/ticket/44471#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts