dev-libs/libgpg-error: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Fri, 3 Feb 2017 22:09:53 +0000 (00:09 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 01:30:42 +0000 (03:30 +0200)
Package-Manager: portage-2.3.3

dev-libs/libgpg-error/libgpg-error-1.26.ebuild

index dc55017d36f131bf24ca84a39942b2bd7476f4d1..4826afb211c4cbf25813510933ef56aaa360af2d 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit eutils libtool multilib-minimal toolchain-funcs
 
@@ -31,30 +31,21 @@ MULTILIB_WRAPPED_HEADERS=(
 )
 
 src_prepare() {
-       epatch_user
+       default
        elibtoolize
 }
 
 multilib_src_configure() {
-       local myeconfargs=(
-               CC_FOR_BUILD=$(tc-getBUILD_CC)
-               --enable-threads
-               $(use_enable nls)
-               $(use_enable static-libs static)
-               $(use_enable common-lisp languages)
-       )
-
-       multilib_is_native_abi || myeconfargs+=(
-               --disable-languages
-       )
-
-       ECONF_SOURCE=${S} \
-               econf "${myeconfargs[@]}"
+       ECONF_SOURCE="${S}" econf \
+               CC_FOR_BUILD=$(tc-getBUILD_CC) \
+               --enable-threads \
+               $(use_enable nls) \
+               $(use_enable static-libs static) \
+               $(use_enable common-lisp languages) \
+               $(multilib_is_native_abi || echo --disable-languages)
 }
 
 multilib_src_install_all() {
        einstalldocs
-
-       # library has no dependencies, so it does not need the .la file
        prune_libtool_files --all
 }