mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/lib3mf: don't use bundled headers
The includes are hardcoded. This is fixed in newer releases, so instead of patching we just link the system includes to the place where they are expected. Closes: https://bugs.gentoo.org/944790 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -39,6 +39,14 @@ PATCHES=(
|
||||
"${FILESDIR}"/${P}-include-cstdint.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
rm -r Include/Libraries/{libzip,zlib} || die
|
||||
ln -s "${EPREFIX}/usr/include" Include/Libraries/zlib || die
|
||||
ln -s "${EPREFIX}/usr/include" Include/Libraries/libzip || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_INSTALL_INCLUDEDIR="include/${PN}"
|
||||
Reference in New Issue
Block a user