diff options
-rw-r--r-- | media-libs/lib3mf/lib3mf-2.2.0-r1.ebuild (renamed from media-libs/lib3mf/lib3mf-2.2.0.ebuild) | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/media-libs/lib3mf/lib3mf-2.2.0.ebuild b/media-libs/lib3mf/lib3mf-2.2.0-r1.ebuild index d5d470010791..c980abe83fef 100644 --- a/media-libs/lib3mf/lib3mf-2.2.0.ebuild +++ b/media-libs/lib3mf/lib3mf-2.2.0-r1.ebuild @@ -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}" |