mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
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().
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user