net-libs/libgsasl: Bumped to EAPI-6.
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 7 Feb 2017 10:06:52 +0000 (11:06 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 7 Feb 2017 10:41:59 +0000 (11:41 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

net-libs/libgsasl/files/libgsasl-gss-extra.patch
net-libs/libgsasl/libgsasl-1.8.0-r1.ebuild

index a0f134a229f8a17eb9e123ff5a40084deffb2629..e9ec10d183c4aa8381058b7bcb3643f52060c0a9 100644 (file)
@@ -1,6 +1,6 @@
 Gentoo bug #359005
---- gl/m4/gss-extra.m4.orig    2010-12-14 12:57:08.000000000 +0000
-+++ gl/m4/gss-extra.m4 2011-11-05 21:11:54.000000000 +0000
+--- a/gl/m4/gss-extra.m4
++++ b/gl/m4/gss-extra.m4
 @@ -19,7 +19,16 @@
      AC_CHECK_FUNCS([gss_decapsulate_token])
      AC_CHECK_FUNCS([gss_oid_equal])
index 309befdc3106f4af1d5d7de1ae31da55773ebcbb..100caab4bb1ab578fd71c824c9996e6c8bb9f825 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="4"
+EAPI=6
 
 inherit autotools eutils
 
@@ -23,8 +23,12 @@ DEPEND="
 RDEPEND="${DEPEND}
        !net-misc/gsasl"
 
+PATCHES=(
+       "${FILESDIR}/${PN}-gss-extra.patch"
+)
+
 src_prepare() {
-       epatch "${FILESDIR}/${PN}-gss-extra.patch"
+       default
        sed -i -e 's/ -Werror//' configure.ac || die
        eautoreconf
 }
@@ -35,14 +39,16 @@ src_configure() {
                krb5_impl="--with-gssapi-impl="
                krb5_impl+=$(has_version app-crypt/mit-krb5 && echo "mit" || echo "heimdal")
        fi
-       econf \
-               $(use_with gcrypt libgcrypt) \
-               $(use_with idn stringprep) \
-               $(use_enable kerberos gssapi) \
-               ${krb5_impl} \
-               $(use_enable nls) \
-               $(use_enable ntlm) \
+       local myeconfargs=(
+               $(use_with gcrypt libgcrypt)
+               $(use_with idn stringprep)
+               $(use_enable kerberos gssapi)
+               ${krb5_impl}
+               $(use_enable nls)
+               $(use_enable ntlm)
                $(use_enable static-libs static)
+       )
+       econf "${myeconfargs[@]}"
 }
 
 src_install() {