diff options
author | Sam James <sam@gentoo.org> | 2021-05-13 15:51:29 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-05-13 15:51:29 +0200 |
commit | 5a44db9a732a19991e6193f3d7effbfe5f1816bd (patch) | |
tree | 9d9d043c1d26c6dd57b8294ff370ad3921cd8d1a /sys-fs | |
parent | sys-fs/progsreiserfs: port to EAPI 7 (diff) | |
download | gentoo-5a44db9a732a19991e6193f3d7effbfe5f1816bd.tar.gz gentoo-5a44db9a732a19991e6193f3d7effbfe5f1816bd.tar.bz2 gentoo-5a44db9a732a19991e6193f3d7effbfe5f1816bd.zip |
sys-fs/reiserfsprogs: port to EAPI 7
* Port to EAPI 7
* Add missing util-linux dependency (for libuuid)
* Add missing || die
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/reiserfsprogs/reiserfsprogs-3.6.27-r1.ebuild (renamed from sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild) | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27-r1.ebuild index 998ee9006da1..1751f2192730 100644 --- a/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27.ebuild +++ b/sys-fs/reiserfsprogs/reiserfsprogs-3.6.27-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools flag-o-matic usr-ldscript @@ -20,6 +20,10 @@ PATCHES=( "${FILESDIR}/${PN}-3.6.27-loff_t.patch" ) +# Needed for libuuid +RDEPEND="sys-apps/util-linux" +DEPEND="${RDEPEND}" + src_prepare() { default eautoreconf @@ -27,17 +31,20 @@ src_prepare() { src_configure() { append-flags -std=gnu89 #427300 + local myeconfargs=( --bindir="${EPREFIX}/bin" --libdir="${EPREFIX}/$(get_libdir)" --sbindir="${EPREFIX}/sbin" $(use_enable static-libs static) ) + econf "${myeconfargs[@]}" } src_install() { default + dodir /usr/$(get_libdir) mv "${ED}"/$(get_libdir)/pkgconfig "${ED}"/usr/$(get_libdir) || die @@ -45,6 +52,6 @@ src_install() { mv "${ED}"/$(get_libdir)/*a "${ED}"/usr/$(get_libdir) || die gen_usr_ldscript libreiserfscore.so else - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete + find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die fi } |