commit:     e1bd57c95dd8f13b3e2fea99dec893f853decdbc
Author:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  4 15:05:34 2014 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Thu Sep  4 15:05:34 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e1bd57c9

sync with gx86

Package-Manager: portage-2.2.8-r1

---
 sci-chemistry/gromacs/ChangeLog               | 3 +++
 sci-chemistry/gromacs/gromacs-5.0.9999.ebuild | 6 +++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog
index 2b74e15..dbc7446 100644
--- a/sci-chemistry/gromacs/ChangeLog
+++ b/sci-chemistry/gromacs/ChangeLog
@@ -2,6 +2,9 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  04 Sep 2014; Christoph Junghans <[email protected]> gromacs-5.0.9999.ebuild:
+  sync with gx86
+
   03 Sep 2014; Christoph Junghans <[email protected]> -Manifest,
   -gromacs-5.0_rc1.ebuild:
   drop old

diff --git a/sci-chemistry/gromacs/gromacs-5.0.9999.ebuild 
b/sci-chemistry/gromacs/gromacs-5.0.9999.ebuild
index 92152a3..042eb28 100644
--- a/sci-chemistry/gromacs/gromacs-5.0.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-5.0.9999.ebuild
@@ -21,7 +21,7 @@ if [[ $PV = *9999* ]]; then
 else
        SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz
                test? ( 
http://gerrit.gromacs.org/download/regressiontests-${TEST_PV}.tar.gz )"
-       KEYWORDS="~alpha ~amd64 ~arm ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~x86-macos"
+       KEYWORDS="~alpha ~amd64 ~arm ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux 
~x64-macos ~x86-macos"
 fi
 
 ACCE_IUSE="sse2 sse4_1 avx_128_fma avx_256 avx2_256"
@@ -189,6 +189,8 @@ src_configure() {
                        -DGMX_LIBS_SUFFIX="${suffix}"
                        )
                BUILD_DIR="${WORKDIR}/${P}_${x}" cmake-utils_src_configure
+               [[ ${CHOST} != *-darwin* ]] || \
+                 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' 
"${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die
                use mpi || continue
                einfo "Configuring for ${x} precision with mpi"
                mycmakeargs=(
@@ -203,6 +205,8 @@ src_configure() {
                        -DGMX_LIBS_SUFFIX="_mpi${suffix}"
                        )
                BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" CC="mpicc" 
cmake-utils_src_configure
+               [[ ${CHOST} != *-darwin* ]] || \
+                 sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' 
"${WORKDIR}/${P}_${x}_mpi/gentoo_rules.cmake" || die
        done
 }
 

Reply via email to