diff options
author | Benda Xu <heroxbd@gentoo.org> | 2020-11-24 18:28:37 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2020-11-24 18:28:37 +0800 |
commit | b9c5f4dc2cc46038fa369859445667cef22ba930 (patch) | |
tree | ba45e80931291e8f75e05bbf52de2a71357c273e | |
parent | roverlay/ebuild/creation.py: move KEYWORDS definition into ebuilds. (diff) | |
download | R_overlay-b9c5f4dc2cc46038fa369859445667cef22ba930.tar.gz R_overlay-b9c5f4dc2cc46038fa369859445667cef22ba930.tar.bz2 R_overlay-b9c5f4dc2cc46038fa369859445667cef22ba930.zip |
files/eclass/R-packages.eclass: set src_configure as no-op.
In sci-CRAN/nloptr src_configure triggers installation as well, which
is not desired.
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
-rw-r--r-- | files/eclass/R-packages.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/files/eclass/R-packages.eclass b/files/eclass/R-packages.eclass index 0315e0b..2d52145 100644 --- a/files/eclass/R-packages.eclass +++ b/files/eclass/R-packages.eclass @@ -3,7 +3,7 @@ inherit eutils -EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_postinst +EXPORT_FUNCTIONS src_unpack src_configure src_compile src_install pkg_postinst SLOT="0" IUSE="byte-compile" @@ -19,6 +19,8 @@ R-packages_src_unpack() { fi } +R-packages_src_configure() { :; } + R-packages_src_compile() { MAKEFLAGS="CFLAGS=${CFLAGS// /\\ } CXXFLAGS=${CXXFLAGS// /\\ } FFLAGS=${FFLAGS// /\\ } FCFLAGS=${FCFLAGS// /\\ } LDFLAGS=${LDFLAGS// /\\ }" \ R CMD INSTALL . -l "${WORKDIR}" $(use byte-compile && echo "--byte-compile") |