1 |
commit: 2fe8ec9a396003da52aff7d2564f1faaa2830b08 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 2 17:48:57 2022 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 2 17:48:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fe8ec9a |
7 |
|
8 |
sys-fs/e2fsprogs: remove freebsd-libc |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
sys-fs/e2fsprogs/e2fsprogs-1.46.4.ebuild | 20 +------------------- |
13 |
sys-fs/e2fsprogs/e2fsprogs-1.46.5.ebuild | 24 +----------------------- |
14 |
2 files changed, 2 insertions(+), 42 deletions(-) |
15 |
|
16 |
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.46.4.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.46.4.ebuild |
17 |
index 7621c508cced..225c1d41eb95 100644 |
18 |
--- a/sys-fs/e2fsprogs/e2fsprogs-1.46.4.ebuild |
19 |
+++ b/sys-fs/e2fsprogs/e2fsprogs-1.46.4.ebuild |
20 |
@@ -12,7 +12,7 @@ SRC_URI="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${PV}/$ |
21 |
LICENSE="GPL-2 BSD" |
22 |
SLOT="0" |
23 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" |
24 |
-IUSE="cron fuse lto nls static-libs +threads elibc_FreeBSD" |
25 |
+IUSE="cron fuse lto nls static-libs +threads" |
26 |
|
27 |
RDEPEND="~sys-libs/${PN}-libs-${PV} |
28 |
>=sys-apps/util-linux-2.16 |
29 |
@@ -93,12 +93,6 @@ src_configure() { |
30 |
|
31 |
src_compile() { |
32 |
emake V=1 COMPILE_ET=compile_et MK_CMDS=mk_cmds |
33 |
- |
34 |
- # Build the FreeBSD helper |
35 |
- if use elibc_FreeBSD ; then |
36 |
- cp "${FILESDIR}"/fsck_ext2fs.c . |
37 |
- emake V=1 fsck_ext2fs |
38 |
- fi |
39 |
} |
40 |
|
41 |
src_install() { |
42 |
@@ -123,16 +117,4 @@ src_install() { |
43 |
if ! use static-libs ; then |
44 |
find "${ED}" -name '*.a' -delete || die |
45 |
fi |
46 |
- |
47 |
- if use elibc_FreeBSD ; then |
48 |
- # Install helpers for us |
49 |
- into / |
50 |
- dosbin "${S}"/fsck_ext2fs |
51 |
- doman "${FILESDIR}"/fsck_ext2fs.8 |
52 |
- |
53 |
- # filefrag is linux only |
54 |
- rm \ |
55 |
- "${ED}"/usr/sbin/filefrag \ |
56 |
- "${ED}"/usr/share/man/man8/filefrag.8 || die |
57 |
- fi |
58 |
} |
59 |
|
60 |
diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.46.5.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.46.5.ebuild |
61 |
index a460cd4a48e1..3e84085d14a9 100644 |
62 |
--- a/sys-fs/e2fsprogs/e2fsprogs-1.46.5.ebuild |
63 |
+++ b/sys-fs/e2fsprogs/e2fsprogs-1.46.5.ebuild |
64 |
@@ -12,7 +12,7 @@ SRC_URI="https://www.kernel.org/pub/linux/kernel/people/tytso/e2fsprogs/v${PV}/$ |
65 |
LICENSE="GPL-2 BSD" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
68 |
-IUSE="cron fuse lto nls static-libs +threads +tools elibc_FreeBSD" |
69 |
+IUSE="cron fuse lto nls static-libs +threads +tools" |
70 |
|
71 |
RDEPEND=" |
72 |
!sys-libs/${PN}-libs |
73 |
@@ -112,12 +112,6 @@ multilib_src_compile() { |
74 |
fi |
75 |
|
76 |
emake V=1 |
77 |
- |
78 |
- # Build the FreeBSD helper |
79 |
- if use elibc_FreeBSD ; then |
80 |
- cp "${FILESDIR}"/fsck_ext2fs.c . || die |
81 |
- emake V=1 fsck_ext2fs |
82 |
- fi |
83 |
} |
84 |
|
85 |
multilib_src_test() { |
86 |
@@ -148,12 +142,6 @@ multilib_src_install() { |
87 |
# Move shared libraries to /lib/, install static libraries to |
88 |
# /usr/lib/, and install linker scripts to /usr/lib/. |
89 |
gen_usr_ldscript -a e2p ext2fs |
90 |
- |
91 |
- if use elibc_FreeBSD ; then |
92 |
- # Install helpers for us |
93 |
- into / |
94 |
- dosbin "${S}"/fsck_ext2fs |
95 |
- fi |
96 |
fi |
97 |
|
98 |
gen_usr_ldscript -a com_err ss $(usex kernel_linux '' 'uuid blkid') |
99 |
@@ -170,15 +158,5 @@ multilib_src_install_all() { |
100 |
if use tools ; then |
101 |
insinto /etc |
102 |
doins "${FILESDIR}"/e2fsck.conf |
103 |
- |
104 |
- if use elibc_FreeBSD ; then |
105 |
- into / |
106 |
- doman "${FILESDIR}"/fsck_ext2fs.8 |
107 |
- |
108 |
- # filefrag is linux only |
109 |
- rm \ |
110 |
- "${ED}"/usr/sbin/filefrag \ |
111 |
- "${ED}"/usr/share/man/man8/filefrag.8 || die |
112 |
- fi |
113 |
fi |
114 |
} |