Why librep ebuild does not use libffi?

librep builds fine with standalone libffi (available as dev-libs/libffi
package in Gentoo) using the following configure options in relevant
section of ebuild:

        --with-ffi \
	--with-ffi-prefix=/usr/$(get_libdir)/libffi-$(pkg-config libffi --modversion)/ \

Seem like calling pkg-config(1) in ebuild is the only way to get the
correct path to libffi. If librep configure.in used pkgconfig macros
(PKG_CHECK_MODULES), that would not be necessary (I don't think that
--with-ffi-prefix option would be needed as well).
Happy Hacking.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]