Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_blue/
Date: Tue, 30 Mar 2021 15:25:12
Message-Id: 1617117900.14d657187f80966a99f84ec3d32955d418aa9a96.sam@gentoo
1 commit: 14d657187f80966a99f84ec3d32955d418aa9a96
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 30 15:24:43 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 30 15:25:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14d65718
7
8 sys-auth/pam_blue: fix build with slibtool
9
10 Thanks-to: orbea <orbea <AT> riseup.net>
11 Closes: https://bugs.gentoo.org/778407
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild | 20 ++++++++++++++------
15 1 file changed, 14 insertions(+), 6 deletions(-)
16
17 diff --git a/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild b/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild
18 index ef057190d03..5b2e6ba48f0 100644
19 --- a/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild
20 +++ b/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2020 Gentoo Authors
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=7
27 @@ -8,21 +8,29 @@ inherit autotools pam
28 DESCRIPTION="PAM module providing ability to authenticate via a bluetooth compatible device"
29 HOMEPAGE="http://pam.0xdef.net/"
30 SRC_URI="http://pam.0xdef.net/source/${P}.tar.bz2"
31 +S="${WORKDIR}"/${PN}
32
33 LICENSE="GPL-2"
34 SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36
37 -DEPEND="sys-libs/pam
38 - net-wireless/bluez"
39 +DEPEND="
40 + net-wireless/bluez
41 + sys-libs/pam
42 +"
43 RDEPEND="${DEPEND}"
44
45 -S=${WORKDIR}/${PN}
46 +PATCHES=(
47 + "${FILESDIR}"/${P}-char-locales.patch #412941
48 + "${FILESDIR}"/${P}-bad-log.patch
49 +)
50
51 src_prepare() {
52 default
53 - eapply "${FILESDIR}"/${P}-char-locales.patch #412941
54 - eapply "${FILESDIR}"/${P}-bad-log.patch
55 +
56 + # bug #778407
57 + sed -i "s|-rpath='/lib/security'|-rpath /lib/security|" src/Makefile.am || die
58 +
59 mv configure.{in,ac} || die
60 eautoreconf
61 }