diff options
author | 2018-07-12 16:04:14 +0900 | |
---|---|---|
committer | 2018-07-12 16:04:14 +0900 | |
commit | 8008c9551b15daaed1682513cdd5d9fd00bfe3ff (patch) | |
tree | 107b7602853856001bb7f9602f17b98be244f0ec | |
parent | Use regex in dep string matches. (diff) | |
download | R_overlay-8008c9551b15daaed1682513cdd5d9fd00bfe3ff.tar.gz R_overlay-8008c9551b15daaed1682513cdd5d9fd00bfe3ff.tar.bz2 R_overlay-8008c9551b15daaed1682513cdd5d9fd00bfe3ff.zip |
R-packages.eclass: EAPI bump to 6.
-rw-r--r-- | files/eclass/R-packages.eclass | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/files/eclass/R-packages.eclass b/files/eclass/R-packages.eclass index 5c3b66c..8ac9321 100644 --- a/files/eclass/R-packages.eclass +++ b/files/eclass/R-packages.eclass @@ -1,6 +1,5 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: $ inherit eutils @@ -20,9 +19,15 @@ R-packages_src_unpack() { fi } -R-packages_src_prepare() { - epatch_user -} +if has "${EAPI:-0}" 0 1 2 3 4 5; then + R-packages_src_prepare() { + epatch_user + } +else + R-packages_src_prepare() { + default + } +fi R-packages_src_compile() { MAKEFLAGS="CFLAGS=${CFLAGS// /\\ } CXXFLAGS=${CXXFLAGS// /\\ } FFLAGS=${FFLAGS// /\\ } FCFLAGS=${FCFLAGS// /\\ } LDFLAGS=${LDFLAGS// /\\ }" \ |