summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-12-07 14:49:34 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-12-07 14:56:16 +0100
commitae568597e7fb80225d5ed48ae13cb32b383dd2bd (patch)
treee2a7a49e641c29a460305680a3ebe7ecac5d58e2 /media-libs/freetype
parentapp-editors/scite: migrate to lua-single.eclass (diff)
downloadgentoo-ae568597e7fb80225d5ed48ae13cb32b383dd2bd.tar.gz
gentoo-ae568597e7fb80225d5ed48ae13cb32b383dd2bd.tar.bz2
gentoo-ae568597e7fb80225d5ed48ae13cb32b383dd2bd.zip
media-libs/freetype: Fixed live ebuild to correctly use dlg submodule
Reported-by: Oleh <moonlapse81@gmail.com> Closes: https://bugs.gentoo.org/758902 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'media-libs/freetype')
-rw-r--r--media-libs/freetype/freetype-9999.ebuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/media-libs/freetype/freetype-9999.ebuild b/media-libs/freetype/freetype-9999.ebuild
index b8b52e17acc9..a57a34037502 100644
--- a/media-libs/freetype/freetype-9999.ebuild
+++ b/media-libs/freetype/freetype-9999.ebuild
@@ -80,6 +80,16 @@ src_fetch() {
src_unpack() {
_egit_repo_handler ${EBUILD_PHASE}
+
+ if [[ "${PV}" == 9999 ]] ; then
+ # Need to copy stuff from dlg submodule (#758902)
+ local dlg_inc_dir="${S}/submodules/dlg/include/dlg"
+ local dlg_src_dir="${S}/submodules/dlg/src/dlg"
+ local dlg_dest_dir="${S}/src/dlg"
+ mkdir -p "${dlg_dest_dir}/dlg" || die
+ cp "${dlg_inc_dir}"/{dlg,output}.h "${dlg_dest_dir}/dlg" || die
+ cp "${dlg_src_dir}"/* "${dlg_dest_dir}" || die
+ fi
}
src_prepare() {