diff options
author | Chris Kerr <cjk34@cam.ac.uk> | 2013-12-04 08:33:59 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2013-12-08 18:36:48 +0100 |
commit | 010921609748a8198bde3be0061201c125613937 (patch) | |
tree | c9a0d4ef1fb63572c6f00a71f1fd32dfc4c5041b /sci-libs | |
parent | Use java-pkg_regso to register the xraylib.so library (diff) | |
download | sci-010921609748a8198bde3be0061201c125613937.tar.gz sci-010921609748a8198bde3be0061201c125613937.tar.bz2 sci-010921609748a8198bde3be0061201c125613937.zip |
Changes suggested by @jlec
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/xraylib/xraylib-2.16.0.ebuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sci-libs/xraylib/xraylib-2.16.0.ebuild b/sci-libs/xraylib/xraylib-2.16.0.ebuild index b54c66f29..c5cd4c66b 100644 --- a/sci-libs/xraylib/xraylib-2.16.0.ebuild +++ b/sci-libs/xraylib/xraylib-2.16.0.ebuild @@ -4,7 +4,6 @@ EAPI=5 -AUTOTOOLS_IN_SOURCE_BUILD=1 AUTOTOOLS_AUTORECONF=true FORTRAN_NEEDED=fortran FORTRAN_STANDARD=2003 @@ -41,8 +40,8 @@ pkg_setup() { } src_prepare() { - autotools-utils_src_prepare java-pkg-opt-2_src_prepare + autotools-utils_src_prepare } src_configure() { @@ -59,12 +58,11 @@ src_configure() { } src_compile() { - if use fortran || use java - then # see https://github.com/tschoonj/xraylib/issues/11 - emake -j1 - else - emake + # see https://github.com/tschoonj/xraylib/issues/11 + if use fortran || use java; then + MAKEOPTS+="-j1" fi + autotools-utils_src_compile } src_install() { |