app-text/linuxdoc-tools: drop obsolete autotools-utils eclass
authorIlya Tumaykin <itumaykin@gmail.com>
Sat, 1 Jul 2017 16:11:09 +0000 (19:11 +0300)
committerMichał Górny <mgorny@gentoo.org>
Fri, 14 Jul 2017 21:21:35 +0000 (23:21 +0200)
Closes: https://github.com/gentoo/gentoo/pull/5023
Package-Manager: Portage-2.3.6, Repoman-2.3.2

app-text/linuxdoc-tools/linuxdoc-tools-0.9.72.ebuild

index b02eb9b514f3f50d87c34dfc8000e317164e9855..808897c2186f6979b2bbec97c7e7926f83cdf855 100644 (file)
@@ -4,7 +4,7 @@
 # EAPI=6 is blocked by Gentoo bugs 497038, 497052.
 EAPI=5
 
-inherit autotools-utils latex-package perl-functions sgml-catalog toolchain-funcs vcs-snapshot
+inherit autotools epatch latex-package perl-functions sgml-catalog toolchain-funcs vcs-snapshot
 
 DESCRIPTION="A toolset for processing LinuxDoc DTD SGML files"
 HOMEPAGE="https://gitlab.com/agmartin/linuxdoc-tools"
@@ -31,7 +31,8 @@ DEPEND="${RDEPEND}
 "
 
 src_prepare() {
-       autotools-utils_src_prepare
+       [[ ${PATCHES} ]] && epatch -p1 "${PATCHES[@]}"
+       epatch_user
 
        # Update the build system with Gentoo paths.
        sed -i \
@@ -62,6 +63,7 @@ src_compile() {
 }
 
 src_install() {
+       # Override latex-package.eclass
        default_src_install
 }