1 |
commit: e1bd57c95dd8f13b3e2fea99dec893f853decdbc |
2 |
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 4 15:05:34 2014 +0000 |
4 |
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 4 15:05:34 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e1bd57c9 |
7 |
|
8 |
sync with gx86 |
9 |
|
10 |
Package-Manager: portage-2.2.8-r1 |
11 |
|
12 |
--- |
13 |
sci-chemistry/gromacs/ChangeLog | 3 +++ |
14 |
sci-chemistry/gromacs/gromacs-5.0.9999.ebuild | 6 +++++- |
15 |
2 files changed, 8 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog |
18 |
index 2b74e15..dbc7446 100644 |
19 |
--- a/sci-chemistry/gromacs/ChangeLog |
20 |
+++ b/sci-chemistry/gromacs/ChangeLog |
21 |
@@ -2,6 +2,9 @@ |
22 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Header: $ |
24 |
|
25 |
+ 04 Sep 2014; Christoph Junghans <ottxor@g.o> gromacs-5.0.9999.ebuild: |
26 |
+ sync with gx86 |
27 |
+ |
28 |
03 Sep 2014; Christoph Junghans <ottxor@g.o> -Manifest, |
29 |
-gromacs-5.0_rc1.ebuild: |
30 |
drop old |
31 |
|
32 |
diff --git a/sci-chemistry/gromacs/gromacs-5.0.9999.ebuild b/sci-chemistry/gromacs/gromacs-5.0.9999.ebuild |
33 |
index 92152a3..042eb28 100644 |
34 |
--- a/sci-chemistry/gromacs/gromacs-5.0.9999.ebuild |
35 |
+++ b/sci-chemistry/gromacs/gromacs-5.0.9999.ebuild |
36 |
@@ -21,7 +21,7 @@ if [[ $PV = *9999* ]]; then |
37 |
else |
38 |
SRC_URI="ftp://ftp.gromacs.org/pub/${PN}/${PN}-${PV/_/-}.tar.gz |
39 |
test? ( http://gerrit.gromacs.org/download/regressiontests-${TEST_PV}.tar.gz )" |
40 |
- KEYWORDS="~alpha ~amd64 ~arm ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" |
41 |
+ KEYWORDS="~alpha ~amd64 ~arm ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos" |
42 |
fi |
43 |
|
44 |
ACCE_IUSE="sse2 sse4_1 avx_128_fma avx_256 avx2_256" |
45 |
@@ -189,6 +189,8 @@ src_configure() { |
46 |
-DGMX_LIBS_SUFFIX="${suffix}" |
47 |
) |
48 |
BUILD_DIR="${WORKDIR}/${P}_${x}" cmake-utils_src_configure |
49 |
+ [[ ${CHOST} != *-darwin* ]] || \ |
50 |
+ sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}/gentoo_rules.cmake" || die |
51 |
use mpi || continue |
52 |
einfo "Configuring for ${x} precision with mpi" |
53 |
mycmakeargs=( |
54 |
@@ -203,6 +205,8 @@ src_configure() { |
55 |
-DGMX_LIBS_SUFFIX="_mpi${suffix}" |
56 |
) |
57 |
BUILD_DIR="${WORKDIR}/${P}_${x}_mpi" CC="mpicc" cmake-utils_src_configure |
58 |
+ [[ ${CHOST} != *-darwin* ]] || \ |
59 |
+ sed -i '/SET(CMAKE_INSTALL_NAME_DIR/s/^/#/' "${WORKDIR}/${P}_${x}_mpi/gentoo_rules.cmake" || die |
60 |
done |
61 |
} |