app-misc/lirc: restore conditional for Debian patching

This isn't used in the current version but it's part of the *_p infra
in the ebuild.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-03 00:25:58 +01:00
parent bcbf874daa
commit c8db74269b

View File

@@ -94,6 +94,10 @@ pkg_setup() {
src_prepare() {
default
if [[ -d "${WORKDIR}"/debian/patches ]] ; then
eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series || die)
fi
# https://bugs.gentoo.org/922209
sed -i -e "/^libpython / s|\$(libdir)/python\$(PYTHON_VERSION)|$(python_get_stdlib)|" Makefile.am || die
sed -i -e "/^libpython / s|\$(libdir)/python\$(PYTHON_VERSION)|$(python_get_stdlib)|" tools/Makefile.am || die