1 |
commit: 2434d5cf975b4ad738de39655fc2a33887031e02 |
2 |
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 30 10:25:11 2022 +0000 |
4 |
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 10:41:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2434d5cf |
7 |
|
8 |
Revert "dev-libs/libbsd: Force a libbsd.so symlink instead of unnecessary ld script" |
9 |
|
10 |
This reverts commit a3b99a29c763bbef6a741b5a364dca74ac8ecd43. I |
11 |
misunderstood the purpose of the script and broke some usage of the |
12 |
library. I will fix this in a different way, but other wider prefix |
13 |
changes are needed first. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/888934 |
16 |
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org> |
17 |
|
18 |
dev-libs/libbsd/libbsd-0.11.7-r1.ebuild | 44 --------------------------------- |
19 |
1 file changed, 44 deletions(-) |
20 |
|
21 |
diff --git a/dev-libs/libbsd/libbsd-0.11.7-r1.ebuild b/dev-libs/libbsd/libbsd-0.11.7-r1.ebuild |
22 |
deleted file mode 100644 |
23 |
index d8b229e11d3e..000000000000 |
24 |
--- a/dev-libs/libbsd/libbsd-0.11.7-r1.ebuild |
25 |
+++ /dev/null |
26 |
@@ -1,44 +0,0 @@ |
27 |
-# Copyright 1999-2022 Gentoo Authors |
28 |
-# Distributed under the terms of the GNU General Public License v2 |
29 |
- |
30 |
-EAPI=8 |
31 |
- |
32 |
-VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/guillemjover.asc |
33 |
-inherit multilib-minimal verify-sig |
34 |
- |
35 |
-DESCRIPTION="Library to provide useful functions commonly found on BSD systems" |
36 |
-HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd" |
37 |
-SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz" |
38 |
-SRC_URI+=" verify-sig? ( https://${PN}.freedesktop.org/releases/${P}.tar.xz.asc )" |
39 |
- |
40 |
-LICENSE="BSD BSD-2 BSD-4 ISC" |
41 |
-SLOT="0" |
42 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" |
43 |
-IUSE="static-libs" |
44 |
- |
45 |
-RDEPEND="app-crypt/libmd[${MULTILIB_USEDEP}]" |
46 |
-DEPEND="${RDEPEND} |
47 |
- >=sys-kernel/linux-headers-3.17 |
48 |
-" |
49 |
-BDEPEND="verify-sig? ( sec-keys/openpgp-keys-guillemjover )" |
50 |
- |
51 |
-src_prepare() { |
52 |
- default |
53 |
- |
54 |
- # The path in the libbsd.so ld script would need the prefix stripped, but we |
55 |
- # don't need it for applying --as-needed anyway, so force a symlink instead. |
56 |
- sed -ri "s:(need_transparent_libmd)=yes:\1=no:g" configure || die |
57 |
-} |
58 |
- |
59 |
-multilib_src_configure() { |
60 |
- # The build system will install libbsd-ctor.a despite USE="-static-libs" |
61 |
- # which is correct, see: |
62 |
- # https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8 |
63 |
- ECONF_SOURCE="${S}" econf $(use_enable static-libs static) |
64 |
-} |
65 |
- |
66 |
-multilib_src_install() { |
67 |
- emake DESTDIR="${D}" install |
68 |
- |
69 |
- find "${ED}" -type f -name "*.la" -delete || die |
70 |
-} |