dev-libs/libffi: allow includedir= override, bug #643582
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 6 Jan 2018 13:02:51 +0000 (13:02 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 6 Jan 2018 13:03:17 +0000 (13:03 +0000)
commit6b286d934352693e1f9a9cabfe567884e28b0cb5
tree3cb645075a619dd101fbb5cec34c83951c881e43
parent871bc49b84d26598cbe3a3b8a792cea0cefc195d
dev-libs/libffi: allow includedir= override, bug #643582

It's not a fix for bug #643582 as includes location did
not change. But a step towards it.

Changes are:
- updated to EAPI=6
- backported upstream commit
    https://github.com/libffi/libffi/commit/982b89c01aca99c7bc229914fc1521f96930919b
  ("Install public headers in the standard path")
- but overrode default location as
    --includedir=/usr/$(get_libdir)/${P}/include/
  to keep python from breaking: bug #643582#c2.

Reported-by: William L. Thomson Jr.
Bug: https://bugs.gentoo.org/643582
Package-Manager: Portage-2.3.19, Repoman-2.3.6
dev-libs/libffi/files/libffi-3.2.1-complex_alpha.patch
dev-libs/libffi/files/libffi-3.2.1-include-path-autogen.patch [new file with mode: 0644]
dev-libs/libffi/files/libffi-3.2.1-include-path.patch [new file with mode: 0644]
dev-libs/libffi/libffi-3.2.1-r1.ebuild [new file with mode: 0644]