1 |
commit: 65ad4c777d9cab090153c6e26ce5cd47a409eded |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 3 15:58:03 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 4 03:28:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65ad4c77 |
7 |
|
8 |
net-fs/openafs: remove kernel_FreeBSD |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
net-fs/openafs/openafs-1.8.7.ebuild | 9 +-------- |
14 |
net-fs/openafs/openafs-1.8.8.1-r1.ebuild | 9 +-------- |
15 |
2 files changed, 2 insertions(+), 16 deletions(-) |
16 |
|
17 |
diff --git a/net-fs/openafs/openafs-1.8.7.ebuild b/net-fs/openafs/openafs-1.8.7.ebuild |
18 |
index f2f6237fddcc..8d42811d43cf 100644 |
19 |
--- a/net-fs/openafs/openafs-1.8.7.ebuild |
20 |
+++ b/net-fs/openafs/openafs-1.8.7.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2021 Gentoo Authors |
23 |
+# Copyright 1999-2022 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=7 |
27 |
@@ -127,8 +127,6 @@ src_configure() { |
28 |
fi |
29 |
myconf+=( --with-linux-kernel-headers="${KV_DIR}" \ |
30 |
--with-linux-kernel-build="${KV_OUT_DIR}" ) |
31 |
- elif use kernel_FreeBSD; then |
32 |
- myconf+=( --with-bsd-kernel-build="${BSD_BUILD_DIR}" ) |
33 |
fi |
34 |
fi |
35 |
|
36 |
@@ -187,9 +185,6 @@ src_install() { |
37 |
MODULE_NAMES="libafs(fs/openafs:${srcdir})" |
38 |
|
39 |
linux-mod_src_install |
40 |
- elif use kernel_FreeBSD; then |
41 |
- insinto /boot/modules |
42 |
- doins "${S}"/src/libafs/MODLOAD/libafs.ko |
43 |
fi |
44 |
fi |
45 |
|
46 |
@@ -286,7 +281,6 @@ pkg_preinst() { |
47 |
pkg_postinst() { |
48 |
if use modules; then |
49 |
# Update linker.hints file |
50 |
- use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
51 |
use kernel_linux && linux-mod_pkg_postinst |
52 |
fi |
53 |
|
54 |
@@ -309,7 +303,6 @@ pkg_postinst() { |
55 |
pkg_postrm() { |
56 |
if use modules; then |
57 |
# Update linker.hints file |
58 |
- use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
59 |
use kernel_linux && linux-mod_pkg_postrm |
60 |
fi |
61 |
} |
62 |
|
63 |
diff --git a/net-fs/openafs/openafs-1.8.8.1-r1.ebuild b/net-fs/openafs/openafs-1.8.8.1-r1.ebuild |
64 |
index 8fe9b5e98f6f..bedbe27e50a1 100644 |
65 |
--- a/net-fs/openafs/openafs-1.8.8.1-r1.ebuild |
66 |
+++ b/net-fs/openafs/openafs-1.8.8.1-r1.ebuild |
67 |
@@ -1,4 +1,4 @@ |
68 |
-# Copyright 1999-2021 Gentoo Authors |
69 |
+# Copyright 1999-2022 Gentoo Authors |
70 |
# Distributed under the terms of the GNU General Public License v2 |
71 |
|
72 |
EAPI=7 |
73 |
@@ -126,8 +126,6 @@ src_configure() { |
74 |
fi |
75 |
myconf+=( --with-linux-kernel-headers="${KV_DIR}" \ |
76 |
--with-linux-kernel-build="${KV_OUT_DIR}" ) |
77 |
- elif use kernel_FreeBSD; then |
78 |
- myconf+=( --with-bsd-kernel-build="${BSD_BUILD_DIR}" ) |
79 |
fi |
80 |
fi |
81 |
|
82 |
@@ -186,9 +184,6 @@ src_install() { |
83 |
MODULE_NAMES="libafs(fs/openafs:${srcdir})" |
84 |
|
85 |
linux-mod_src_install |
86 |
- elif use kernel_FreeBSD; then |
87 |
- insinto /boot/modules |
88 |
- doins "${S}"/src/libafs/MODLOAD/libafs.ko |
89 |
fi |
90 |
fi |
91 |
|
92 |
@@ -285,7 +280,6 @@ pkg_preinst() { |
93 |
pkg_postinst() { |
94 |
if use modules; then |
95 |
# Update linker.hints file |
96 |
- use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
97 |
use kernel_linux && linux-mod_pkg_postinst |
98 |
fi |
99 |
|
100 |
@@ -308,7 +302,6 @@ pkg_postinst() { |
101 |
pkg_postrm() { |
102 |
if use modules; then |
103 |
# Update linker.hints file |
104 |
- use kernel_FreeBSD && /usr/sbin/kldxref "${EPREFIX}/boot/modules" |
105 |
use kernel_linux && linux-mod_pkg_postrm |
106 |
fi |
107 |
} |