diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-02-25 09:18:56 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-02-25 09:31:09 +0000 |
commit | c51d3151dcfef28e7aef55e1093c60e652edfb2d (patch) | |
tree | 6cb215f91023a8c04055239c42dc0f5af31aef30 /app-admin | |
parent | app-admin/cronolog: don't use an array to stuff patches in but call epatch di... (diff) | |
download | gentoo-c51d3151dcfef28e7aef55e1093c60e652edfb2d.tar.gz gentoo-c51d3151dcfef28e7aef55e1093c60e652edfb2d.tar.bz2 gentoo-c51d3151dcfef28e7aef55e1093c60e652edfb2d.zip |
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().
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/cronolog/cronolog-1.6.2-r5.ebuild | 18 |
1 files changed, 12 insertions, 6 deletions
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 -} |