diff options
author | Nicolas Bock <nicolasbock@gentoo.org> | 2014-02-18 12:12:39 +0000 |
---|---|---|
committer | Nicolas Bock <nicolasbock@gentoo.org> | 2014-02-18 12:12:39 +0000 |
commit | e476b74077a84c3f48e4f1490b73a0883820a5dc (patch) | |
tree | dd4882819d251cebafea823de9ad439d7d35c867 /sci-physics | |
parent | Drop old versions (diff) | |
download | gentoo-2-e476b74077a84c3f48e4f1490b73a0883820a5dc.tar.gz gentoo-2-e476b74077a84c3f48e4f1490b73a0883820a5dc.tar.bz2 gentoo-2-e476b74077a84c3f48e4f1490b73a0883820a5dc.zip |
sci-physics/lammps-20140212: Simplify USE flag logic.
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key AC91CA52)
Diffstat (limited to 'sci-physics')
-rw-r--r-- | sci-physics/lammps/ChangeLog | 5 | ||||
-rw-r--r-- | sci-physics/lammps/lammps-20140212.ebuild | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/sci-physics/lammps/ChangeLog b/sci-physics/lammps/ChangeLog index 59d2b20ad30c..94bcc5213c49 100644 --- a/sci-physics/lammps/ChangeLog +++ b/sci-physics/lammps/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sci-physics/lammps # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/ChangeLog,v 1.12 2014/02/15 02:01:57 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/ChangeLog,v 1.13 2014/02/18 12:12:39 nicolasbock Exp $ + + 18 Feb 2014; Nicolas Bock <nicolasbock@gentoo.org> lammps-20140212.ebuild: + sci-physics/lammps-20140212: Simplify USE flag logic. 15 Feb 2014; Christoph Junghans <ottxor@gentoo.org> lammps-20140212.ebuild: fixed lammps-package-{mean,reax} logic diff --git a/sci-physics/lammps/lammps-20140212.ebuild b/sci-physics/lammps/lammps-20140212.ebuild index 111a1c788dc3..de120c4e842f 100644 --- a/sci-physics/lammps/lammps-20140212.ebuild +++ b/sci-physics/lammps/lammps-20140212.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-physics/lammps/lammps-20140212.ebuild,v 1.2 2014/02/15 02:01:57 ottxor Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/lammps/lammps-20140212.ebuild,v 1.3 2014/02/18 12:12:39 nicolasbock Exp $ EAPI=5 @@ -80,8 +80,12 @@ lmp_emake() { src_prepare() { # Fix inconsistent use of SHFLAGS. sed -i -e 's:$(CCFLAGS):$(CCFLAGS) -fPIC:' src/STUBS/Makefile || die - use !lammps-package-meam || sed -i -e 's:$(F90FLAGS):$(F90FLAGS) -fPIC:' lib/meam/Makefile.gfortran || die - use !lammps-package-reax || sed -i -e 's:$(F90FLAGS):$(F90FLAGS) -fPIC:' lib/reax/Makefile.gfortran || die + if use lammps-package-meam; then + sed -i -e 's:$(F90FLAGS):$(F90FLAGS) -fPIC:' lib/meam/Makefile.gfortran || die + fi + if use lammps-package-reax; then + sed -i -e 's:$(F90FLAGS):$(F90FLAGS) -fPIC:' lib/reax/Makefile.gfortran || die + fi } src_compile() { |