Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libgpg-error/
Date: Sat, 26 Dec 2020 21:28:41
Message-Id: 1609017967.1b70a52e37a116fe26be43a0c60d32b0dbf9af9f.sam@gentoo
1 commit: 1b70a52e37a116fe26be43a0c60d32b0dbf9af9f
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Dec 26 21:26:07 2020 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Dec 26 21:26:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b70a52e
7
8 dev-libs/libgpg-error: sync with ::prefix
9
10 Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-libs/libgpg-error/libgpg-error-1.41.ebuild | 17 ++++++++++++++++-
14 1 file changed, 16 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-libs/libgpg-error/libgpg-error-1.41.ebuild b/dev-libs/libgpg-error/libgpg-error-1.41.ebuild
17 index dcb9068911b..be7802c9db4 100644
18 --- a/dev-libs/libgpg-error/libgpg-error-1.41.ebuild
19 +++ b/dev-libs/libgpg-error/libgpg-error-1.41.ebuild
20 @@ -11,7 +11,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
21
22 LICENSE="GPL-2 LGPL-2.1"
23 SLOT="0"
24 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
25 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
26 IUSE="common-lisp nls"
27
28 RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"
29 @@ -32,11 +32,26 @@ PATCHES=(
30
31 src_prepare() {
32 default
33 +
34 + if use prefix ; then
35 + # don't hardcode /usr/xpg4/bin/sh as shell on Solaris
36 + sed -i -e 's/solaris\*/disabled/' configure.ac || die
37 + fi
38 +
39 # only necessary for as long as we run eautoreconf, configure.ac
40 # uses ./autogen.sh to generate PACKAGE_VERSION, but autogen.sh is
41 # not a pure /bin/sh script, so it fails on some hosts
42 hprefixify -w 1 autogen.sh
43 eautoreconf
44 +
45 + if use prefix ; then
46 + # upstream seems not interested in trying to understand (#584330)
47 + # https://lists.gnupg.org/pipermail/gnupg-devel/2017-March/032671.html
48 + # again reported as https://dev.gnupg.org/T4474
49 + einfo "Forcing -no-undefined libtool flag ..."
50 + sed -i -e 's/\$(no_undefined)/-no-undefined/' src/Makefile.in
51 + eend $? || die
52 + fi
53 }
54
55 multilib_src_configure() {