commit: 34d02a04653bbe96bf4c2b2cc075c5a5702b7aec Author: Vincent Hardy <vincent.hardy.be <AT> gmail <DOT> com> AuthorDate: Sat Aug 10 13:56:53 2024 +0000 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org> CommitDate: Sat Aug 10 13:57:40 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d02a04
app-crypt/eid-mw: replace sed with patches Closes: https://bugs.gentoo.org/928106 Signed-off-by: Amy Liffey <amynka <AT> gentoo.org> app-crypt/eid-mw/eid-mw-9999.ebuild | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) diff --git a/app-crypt/eid-mw/eid-mw-9999.ebuild b/app-crypt/eid-mw/eid-mw-9999.ebuild index 3c461d2daa95..6b11be857dc4 100644 --- a/app-crypt/eid-mw/eid-mw-9999.ebuild +++ b/app-crypt/eid-mw/eid-mw-9999.ebuild @@ -29,34 +29,14 @@ BDEPEND="virtual/pkgconfig" REQUIRED_USE="dialogs? ( gtk )" +PATCHES=( + "${FILESDIR}/0001-Do-not-build-xpi-module.patch" + "${FILESDIR}/0001-Fix-libdir-for-manifestdir.patch" + "${FILESDIR}/0001-Remove-uml-build.patch" + ) + src_prepare() { default - - # xpi module : we don't want it anymore - sed -i -e '/SUBDIRS/ s:plugins_tools/xpi ::' Makefile.am || die - sed -i -e '/plugins_tools\/xpi/ d' configure.ac || die - - # hardcoded lsb_info - sed -i \ - -e "s:get_lsb_info('i'):strdup(_(\"Gentoo\")):" \ - -e "s:get_lsb_info('r'):strdup(_(\"n/a\")):" \ - -e "s:get_lsb_info('c'):strdup(_(\"n/a\")):" \ - plugins_tools/aboutmw/gtk/about-main.c || die - - # Fix libdir for manifestdir - sed -i \ - -e "/pkcs11_manifestdir/ s:prefix)/lib:libdir):" \ - -e "/managed_storage_manifestdir/ s:prefix)/lib:libdir):" \ - cardcomm/pkcs11/src/Makefile.am || die - - # See bug #811270 (remove uml build) - sed -i \ - -e 's:cardlayer/uml::' \ - cardcomm/pkcs11/src/Makefile.am || die - sed -i \ - -e 's:uml::' \ - plugins_tools/eid-viewer/Makefile.am || die - eautoreconf }
