diff options
author | Michał Górny <mgorny@gentoo.org> | 2015-12-06 21:53:04 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2015-12-06 22:55:14 +0100 |
commit | 78f211142eb2913de4af6b4700ad9c580e96c8c6 (patch) | |
tree | 477dd5e5d05ea98889a874d7cc87a38605e52c12 /sci-libs/openfoam-bin | |
parent | [QA] net-misc/icaclient: Fix global scope use calls, #566544 (diff) | |
download | gentoo-78f211142eb2913de4af6b4700ad9c580e96c8c6.tar.gz gentoo-78f211142eb2913de4af6b4700ad9c580e96c8c6.tar.bz2 gentoo-78f211142eb2913de4af6b4700ad9c580e96c8c6.zip |
[QA] sci-libs/openfoam-bin: Fix global scope use call, #566548
Diffstat (limited to 'sci-libs/openfoam-bin')
-rw-r--r-- | sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild b/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild index 7216f7e80a0c..bb842eddac07 100644 --- a/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild +++ b/sci-libs/openfoam-bin/openfoam-bin-1.6.ebuild @@ -10,9 +10,6 @@ MY_PN="OpenFOAM" MY_PV=$(get_version_component_range 1-2) MY_P="${MY_PN}-${MY_PV}" -use x86 && WM_OPTIONS="linuxGccDPOpt" -use amd64 && WM_OPTIONS="linux64GccDPOpt" - DESCRIPTION="Open Field Operation and Manipulation - CFD Simulation Toolbox" HOMEPAGE="http://www.opencfd.co.uk/openfoam/" SRC_URI="mirror://sourceforge/foam/${MY_P}.General.gtgz -> ${MY_P}.General.tgz @@ -73,6 +70,9 @@ src_configure() { sed -i -e "s|WM_MPLIB:=OPENMPI|WM_MPLIB:="${WM_MPLIB}"|" etc/bashrc sed -i -e "s|setenv WM_MPLIB OPENMPI|setenv WM_MPLIB "${WM_MPLIB}"|" etc/cshrc + use x86 && WM_OPTIONS="linuxGccDPOpt" + use amd64 && WM_OPTIONS="linux64GccDPOpt" + mv lib/${WM_OPTIONS}/$MPI_VERSION* lib/${WM_OPTIONS}/$MPI_VERSION } |