diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-05 21:47:47 +0200 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2017-02-05 21:58:42 +0200 |
commit | e1d85bb3193954d5778f044b8f388b399a91d3b1 (patch) | |
tree | a8a847941907276bb27c48a6b68853ed2cc0b258 /app-arch | |
parent | app-arch/createrepo: eapi bump (diff) | |
download | gentoo-e1d85bb3193954d5778f044b8f388b399a91d3b1.tar.gz gentoo-e1d85bb3193954d5778f044b8f388b399a91d3b1.tar.bz2 gentoo-e1d85bb3193954d5778f044b8f388b399a91d3b1.zip |
app-arch/deltarpm: eapi bump
Package-Manager: portage-2.3.3
Diffstat (limited to 'app-arch')
-rw-r--r-- | app-arch/deltarpm/deltarpm-3.6.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/app-arch/deltarpm/deltarpm-3.6.ebuild b/app-arch/deltarpm/deltarpm-3.6.ebuild index b60b86380341..a6463cc66581 100644 --- a/app-arch/deltarpm/deltarpm-3.6.ebuild +++ b/app-arch/deltarpm/deltarpm-3.6.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 PYTHON_COMPAT=( python2_7 ) @@ -34,6 +34,9 @@ pkg_setup() { prefix=/usr mandir=/usr/share/man PYTHONS=$(use python && echo python) + CFLAGS="${CFLAGS}" + LDFLAGS="${LDFLAGS}" + CC="$(tc-getCC)" ) use system-zlib && MAKE_EXTRA_FLAGS+=( zlibbundled= @@ -43,10 +46,10 @@ pkg_setup() { } src_compile() { - emake "${MAKE_EXTRA_FLAGS[@]}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" all $(use python && echo python) + emake "${MAKE_EXTRA_FLAGS[@]}" all $(use python && echo python) } src_install() { - emake "${MAKE_EXTRA_FLAGS[@]}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" DESTDIR="${ED}" install + emake "${MAKE_EXTRA_FLAGS[@]}" DESTDIR="${ED}" install python_optimize } |