eclass/xdg: Sync with Gentoo

It's from Gentoo commit 4c3f798d2394f8c4b6e7e8fc5e8cc4a35c0f8ed5.
This commit is contained in:
Flatcar Buildbot 2024-10-07 07:07:11 +00:00 committed by Krzesimir Nowak
parent ab5d0717c6
commit bbc59c84d1

View File

@ -45,8 +45,6 @@ case ${EAPI} in
default default
} }
EXPORT_FUNCTIONS src_prepare
DEPEND="${_XDG_DEPEND}" DEPEND="${_XDG_DEPEND}"
;; ;;
*) *)
@ -131,4 +129,12 @@ xdg_pkg_postrm() {
fi fi
case ${EAPI} in
6|7)
EXPORT_FUNCTIONS src_prepare
;;
*)
;;
esac
EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_postrm EXPORT_FUNCTIONS pkg_preinst pkg_postinst pkg_postrm