diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-23 07:00:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-23 07:00:28 +0100 |
commit | e23cdda4dbb0c83b9e682ab5e916085a35203da5 (patch) | |
tree | 5a4ac448a3b288b731c24d947e0ce52df3cab07b /sys-fs/ext3grep/ext3grep-0.10.2.ebuild | |
parent | 8187a741807f3e9a9e26304973cf18087dcf2560 (diff) |
gentoo resync : 23.06.2018
Diffstat (limited to 'sys-fs/ext3grep/ext3grep-0.10.2.ebuild')
-rw-r--r-- | sys-fs/ext3grep/ext3grep-0.10.2.ebuild | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/sys-fs/ext3grep/ext3grep-0.10.2.ebuild b/sys-fs/ext3grep/ext3grep-0.10.2.ebuild index 88c27978d04d..1c8c5533ad98 100644 --- a/sys-fs/ext3grep/ext3grep-0.10.2.ebuild +++ b/sys-fs/ext3grep/ext3grep-0.10.2.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=4 -inherit eutils +EAPI=6 DESCRIPTION="Recover deleted files on an ext3 file system" HOMEPAGE="https://code.google.com/p/ext3grep/" @@ -13,25 +12,24 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug pch" -DOCS="NEWS README" - -RDEPEND="" DEPEND="sys-fs/e2fsprogs virtual/os-headers virtual/pkgconfig" -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-0.10.1-gcc44.patch \ - "${FILESDIR}"/${P}-include-unistd_h-for-sysconf.patch +DOCS="NEWS README" - # Fix build against latest e2fsprogs, taken from - # https://code.google.com/p/ext3grep/issues/detail?id=34 - epatch "${FILESDIR}"/${P}-new-e2fsprogs.diff -} +PATCHES=( + "${FILESDIR}/${PN}-0.10.1-gcc44.patch" + "${FILESDIR}/${P}-include-unistd_h-for-sysconf.patch" + "${FILESDIR}/${P}-new-e2fsprogs.patch" + "${FILESDIR}/${P}-newer-e2fsprogs.patch" +) src_configure() { - econf \ - $(use_enable debug) \ + myeconfargs=( + $(use_enable debug) $(use_enable pch) + ) + + econf "${myeconfargs[@]}" } |