From: Sergei Trofimovich Date: Sat, 25 Feb 2017 09:18:56 +0000 (+0000) Subject: app-admin/cronolog: expand patches glob X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c51d3151dcfef28e7aef55e1093c60e652edfb2d;p=gentoo.git app-admin/cronolog: expand patches glob Inline all available patches explicitly to make ebuild stable against addition/removal of patches into a directory. While at it drop src_install() as it's the same as EAPI=6 src_install(). --- diff --git a/app-admin/cronolog/cronolog-1.6.2-r5.ebuild b/app-admin/cronolog/cronolog-1.6.2-r5.ebuild index 3a00382de205..690148fc1adf 100644 --- a/app-admin/cronolog/cronolog-1.6.2-r5.ebuild +++ b/app-admin/cronolog/cronolog-1.6.2-r5.ebuild @@ -14,15 +14,21 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~x86" +PATCHES=( + "${FILESDIR}"/${PV}-patches/${PN}-define-strptime.patch.txt + "${FILESDIR}"/${PV}-patches/${PN}-doc.patch.txt + "${FILESDIR}"/${PV}-patches/${PN}-getopt-long.patch.txt + "${FILESDIR}"/${PV}-patches/${PN}-large-file-patch.txt + "${FILESDIR}"/${PV}-patches/${PN}-missing-symlink-patch.txt + "${FILESDIR}"/${PV}-patches/${PN}-setugid-patch.txt + "${FILESDIR}"/${PV}-patches/${PN}-sigusr1-patch.txt + "${FILESDIR}"/${PV}-patches/${PN}-strftime-patch.txt + "${FILESDIR}"/${P}-umask.patch +) + DOCS=( AUTHORS ChangeLog INSTALL NEWS README TODO ) src_prepare() { default - epatch "${FILESDIR}/${PV}-patches"/*.txt "${FILESDIR}/${P}-umask.patch" eautoreconf } - -src_install() { - emake DESTDIR="${D}" install - einstalldocs -}