summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-13 15:51:26 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-13 15:51:26 +0200
commit6e77e84a8d95d4b0df7f1313d74afb603437c017 (patch)
tree0af0c37f7d862504bff0a64c4ca35c49436c3e21 /sys-fs/progsreiserfs
parentsys-fs/etcd-fs: drop 0_p20140620 (EAPI 5) (diff)
downloadgentoo-6e77e84a8d95d4b0df7f1313d74afb603437c017.tar.gz
gentoo-6e77e84a8d95d4b0df7f1313d74afb603437c017.tar.bz2
gentoo-6e77e84a8d95d4b0df7f1313d74afb603437c017.zip
sys-fs/progsreiserfs: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-fs/progsreiserfs')
-rw-r--r--sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-autotools.patch4
-rw-r--r--sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild23
2 files changed, 17 insertions, 10 deletions
diff --git a/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-autotools.patch b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-autotools.patch
index 4a0753f4f09b..dfb1b27af787 100644
--- a/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-autotools.patch
+++ b/sys-fs/progsreiserfs/files/progsreiserfs-0.3.1_rc8-autotools.patch
@@ -1,7 +1,7 @@
http://bugs.gentoo.org/442226
---- progsreiserfs.m4
-+++ progsreiserfs.m4
+--- a/progsreiserfs.m4
++++ b/progsreiserfs.m4
@@ -10,7 +10,7 @@
dnl Adds the required libraries to $REISERFS_LIBS and does an
dnl AC_SUBST(REISERFS_LIBS)
diff --git a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild
index 86acd4a58411..08d304b3eede 100644
--- a/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild
+++ b/sys-fs/progsreiserfs/progsreiserfs-0.3.1_rc8.ebuild
@@ -1,30 +1,36 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
-inherit epatch flag-o-matic libtool ltprune
+inherit flag-o-matic libtool
MY_P=${PN}-${PV/_/-}
DESCRIPTION="Library for accessing and manipulating reiserfs partitions"
HOMEPAGE="http://reiserfs.linux.kiev.ua/"
SRC_URI="http://reiserfs.linux.kiev.ua/snapshots/${MY_P}.tar.gz"
+S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc x86"
IUSE="debug examples nls static-libs"
-RDEPEND=""
-DEPEND="${RDEPEND}
+DEPEND="
sys-apps/util-linux
- nls? ( sys-devel/gettext )"
+ nls? (
+ sys-devel/gettext
+ virtual/libintl
+ )
+"
-S=${WORKDIR}/${MY_P}
+PATCHES=(
+ "${FILESDIR}"/${P}-autotools.patch
+)
src_prepare() {
- epatch "${FILESDIR}"/${P}-autotools.patch
+ default
elibtoolize
}
@@ -47,8 +53,9 @@ src_install() {
dodoc demos/*.c
fi
+ find "${ED}" -name '*.la' -delete || die
+
rm -r "${ED}"/usr/{sbin,share/man} || die
- prune_libtool_files
}
pkg_postinst() {