1 |
commit: af515071c4813a03353ed66184b084e95aba4ba9 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 7 10:06:52 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 7 10:41:59 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af515071 |
7 |
|
8 |
net-libs/libgsasl: Bumped to EAPI-6. |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
net-libs/libgsasl/files/libgsasl-gss-extra.patch | 4 ++-- |
13 |
net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild | 26 +++++++++++++++--------- |
14 |
2 files changed, 18 insertions(+), 12 deletions(-) |
15 |
|
16 |
diff --git a/net-libs/libgsasl/files/libgsasl-gss-extra.patch b/net-libs/libgsasl/files/libgsasl-gss-extra.patch |
17 |
index a0f134a..e9ec10d 100644 |
18 |
--- a/net-libs/libgsasl/files/libgsasl-gss-extra.patch |
19 |
+++ b/net-libs/libgsasl/files/libgsasl-gss-extra.patch |
20 |
@@ -1,6 +1,6 @@ |
21 |
Gentoo bug #359005 |
22 |
---- gl/m4/gss-extra.m4.orig 2010-12-14 12:57:08.000000000 +0000 |
23 |
-+++ gl/m4/gss-extra.m4 2011-11-05 21:11:54.000000000 +0000 |
24 |
+--- a/gl/m4/gss-extra.m4 |
25 |
++++ b/gl/m4/gss-extra.m4 |
26 |
@@ -19,7 +19,16 @@ |
27 |
AC_CHECK_FUNCS([gss_decapsulate_token]) |
28 |
AC_CHECK_FUNCS([gss_oid_equal]) |
29 |
|
30 |
diff --git a/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild b/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild |
31 |
index 309befd..100caab 100644 |
32 |
--- a/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild |
33 |
+++ b/net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild |
34 |
@@ -1,8 +1,8 @@ |
35 |
-# Copyright 1999-2014 Gentoo Foundation |
36 |
+# Copyright 1999-2017 Gentoo Foundation |
37 |
# Distributed under the terms of the GNU General Public License v2 |
38 |
# $Id$ |
39 |
|
40 |
-EAPI="4" |
41 |
+EAPI=6 |
42 |
|
43 |
inherit autotools eutils |
44 |
|
45 |
@@ -23,8 +23,12 @@ DEPEND=" |
46 |
RDEPEND="${DEPEND} |
47 |
!net-misc/gsasl" |
48 |
|
49 |
+PATCHES=( |
50 |
+ "${FILESDIR}/${PN}-gss-extra.patch" |
51 |
+) |
52 |
+ |
53 |
src_prepare() { |
54 |
- epatch "${FILESDIR}/${PN}-gss-extra.patch" |
55 |
+ default |
56 |
sed -i -e 's/ -Werror//' configure.ac || die |
57 |
eautoreconf |
58 |
} |
59 |
@@ -35,14 +39,16 @@ src_configure() { |
60 |
krb5_impl="--with-gssapi-impl=" |
61 |
krb5_impl+=$(has_version app-crypt/mit-krb5 && echo "mit" || echo "heimdal") |
62 |
fi |
63 |
- econf \ |
64 |
- $(use_with gcrypt libgcrypt) \ |
65 |
- $(use_with idn stringprep) \ |
66 |
- $(use_enable kerberos gssapi) \ |
67 |
- ${krb5_impl} \ |
68 |
- $(use_enable nls) \ |
69 |
- $(use_enable ntlm) \ |
70 |
+ local myeconfargs=( |
71 |
+ $(use_with gcrypt libgcrypt) |
72 |
+ $(use_with idn stringprep) |
73 |
+ $(use_enable kerberos gssapi) |
74 |
+ ${krb5_impl} |
75 |
+ $(use_enable nls) |
76 |
+ $(use_enable ntlm) |
77 |
$(use_enable static-libs static) |
78 |
+ ) |
79 |
+ econf "${myeconfargs[@]}" |
80 |
} |
81 |
|
82 |
src_install() { |