summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny van Dyk <kugelfang@gentoo.org>2007-03-15 17:08:43 +0000
committerDanny van Dyk <kugelfang@gentoo.org>2007-03-15 17:08:43 +0000
commitea0f3e33dbe4001ef012ed1bdfe5bd5b3a06111a (patch)
tree339fe9eed73aae6819d52a999e21b15b20b8d0aa /sci-chemistry/cns/cns-1.1.ebuild
parentStable on ppc64; bug #170310 (diff)
downloadgentoo-2-ea0f3e33dbe4001ef012ed1bdfe5bd5b3a06111a.tar.gz
gentoo-2-ea0f3e33dbe4001ef012ed1bdfe5bd5b3a06111a.tar.bz2
gentoo-2-ea0f3e33dbe4001ef012ed1bdfe5bd5b3a06111a.zip
QA: Removed illegal use of ${ROOT}. Bug #168043
(Portage version: 2.1.2.1-r1)
Diffstat (limited to 'sci-chemistry/cns/cns-1.1.ebuild')
-rw-r--r--sci-chemistry/cns/cns-1.1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sci-chemistry/cns/cns-1.1.ebuild b/sci-chemistry/cns/cns-1.1.ebuild
index 0f4219fbb844..e772a65dc1cc 100644
--- a/sci-chemistry/cns/cns-1.1.ebuild
+++ b/sci-chemistry/cns/cns-1.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cns/cns-1.1.ebuild,v 1.2 2006/07/09 07:15:35 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/cns/cns-1.1.ebuild,v 1.3 2007/03/15 17:08:43 kugelfang Exp $
inherit eutils fortran toolchain-funcs
@@ -79,8 +79,8 @@ src_test() {
src_install() {
# Install to locations resembling FHS
sed -i \
- -e "s:${S}:${ROOT}usr:g" \
- -e "s:^\(setenv CNS_SOLVE.*\):\1\nsetenv CNS_ROOT ${ROOT}usr:g" \
+ -e "s:${S}:usr:g" \
+ -e "s:^\(setenv CNS_SOLVE.*\):\1\nsetenv CNS_ROOT usr:g" \
-e "s:^\(setenv CNS_SOLVE.*\):\1\nsetenv CNS_DATA \$CNS_ROOT/share/data:g" \
-e "s:^\(setenv CNS_SOLVE.*\):\1\nsetenv CNS_DOC \$CNS_ROOT/share/doc/${PF}:g" \
-e "s:CNS_MODULE \$CNS_SOLVE/modules:CNS_MODULE \$CNS_DATA/modules:g" \