summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2014-09-04 15:04:24 +0000
committerChristoph Junghans <ottxor@gentoo.org>2014-09-04 15:04:24 +0000
commit6f5cc0f58e3118a4c33e28072d18910b30db17da (patch)
treeb58a8ffc895b4be58a61efef1a5ee95fb3946170 /sci-chemistry/gromacs
parentPreserve all whitespace in shebangs, and add regression test for that. Also, ... (diff)
downloadgentoo-2-6f5cc0f58e3118a4c33e28072d18910b30db17da.tar.gz
gentoo-2-6f5cc0f58e3118a4c33e28072d18910b30db17da.tar.bz2
gentoo-2-6f5cc0f58e3118a4c33e28072d18910b30db17da.zip
added ~x64-macos (tested by me)
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Diffstat (limited to 'sci-chemistry/gromacs')
-rw-r--r--sci-chemistry/gromacs/ChangeLog5
-rw-r--r--sci-chemistry/gromacs/gromacs-5.0.ebuild8
2 files changed, 10 insertions, 3 deletions
diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog
index 18aa680153c9..3558c3dfb258 100644
--- a/sci-chemistry/gromacs/ChangeLog
+++ b/sci-chemistry/gromacs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/gromacs
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/ChangeLog,v 1.143 2014/08/29 19:29:11 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/ChangeLog,v 1.144 2014/09/04 15:04:24 ottxor Exp $
+
+ 04 Sep 2014; Christoph Junghans <ottxor@gentoo.org> gromacs-5.0.ebuild:
+ added ~x64-macos (tested by me)
*gromacs-4.6.7 (29 Aug 2014)
diff --git a/sci-chemistry/gromacs/gromacs-5.0.ebuild b/sci-chemistry/gromacs/gromacs-5.0.ebuild
index 9f495e26b3d0..c7c0f77f55a1 100644
--- a/sci-chemistry/gromacs/gromacs-5.0.ebuild
+++ b/sci-chemistry/gromacs/gromacs-5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-5.0.ebuild,v 1.1 2014/06/30 03:24:04 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gromacs/gromacs-5.0.ebuild,v 1.2 2014/09/04 15:04:24 ottxor Exp $
EAPI=5
@@ -32,7 +32,7 @@ HOMEPAGE="http://www.gromacs.org/"
# base, vmd plugins, fftpack from numpy, blas/lapck from netlib, memtestG80 library, mpi_thread lib
LICENSE="LGPL-2.1 UoI-NCSA !mkl? ( !fftw? ( BSD ) !blas? ( BSD ) !lapack? ( BSD ) ) cuda? ( LGPL-3 ) threads? ( BSD )"
SLOT="0/${PV}"
-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"
IUSE="X blas boost cuda +doc -double-precision +fftw lapack +make-symlinks mkl mpi +offensive openmp +single-precision test +threads +tng ${ACCE_IUSE}"
CDEPEND="
@@ -188,6 +188,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=(
@@ -202,6 +204,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
}