summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-01-21 17:17:25 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-01-21 17:17:25 +0000
commit82a10e7eca772faa1335ab3dc619f3d88f64da06 (patch)
treea3cf1f703d11bcf35854635f2f4c130ada933e30 /sci-physics
parentUpdate license to sword-sparvg2004 wrt bug 445302 (diff)
downloadgentoo-2-82a10e7eca772faa1335ab3dc619f3d88f64da06.tar.gz
gentoo-2-82a10e7eca772faa1335ab3dc619f3d88f64da06.tar.bz2
gentoo-2-82a10e7eca772faa1335ab3dc619f3d88f64da06.zip
Fixed the environment file when the data use flag is enabled, bug #453224 thanks Oliver Freyermuth
(Portage version: 2.2.01.21580-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/geant/ChangeLog8
-rw-r--r--sci-physics/geant/geant-4.9.6.ebuild6
2 files changed, 9 insertions, 5 deletions
diff --git a/sci-physics/geant/ChangeLog b/sci-physics/geant/ChangeLog
index 0a45d9e98a6e..f1ed97a878cf 100644
--- a/sci-physics/geant/ChangeLog
+++ b/sci-physics/geant/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-physics/geant
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.68 2012/12/14 16:51:50 bicatali Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.69 2013/01/21 17:17:25 bicatali Exp $
+
+ 21 Jan 2013; Sébastien Fabbro <bicatali@gentoo.org> geant-4.9.6.ebuild:
+ Fixed the environment file when the data use flag is enabled, bug #453224
+ thanks Oliver Freyermuth
*geant-4.9.5_p02 (14 Dec 2012)
*geant-4.9.6 (14 Dec 2012)
diff --git a/sci-physics/geant/geant-4.9.6.ebuild b/sci-physics/geant/geant-4.9.6.ebuild
index 93937d2276b1..461115fdad2f 100644
--- a/sci-physics/geant/geant-4.9.6.ebuild
+++ b/sci-physics/geant/geant-4.9.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.6.ebuild,v 1.1 2012/12/14 16:51:50 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.6.ebuild,v 1.2 2013/01/21 17:17:25 bicatali Exp $
EAPI=4
@@ -72,7 +72,7 @@ src_install() {
dodoc ReleaseNotes/Patch${mypv}-*.txt
use examples && doins -r examples
if use data ; then
- sed "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\); pwd\`,\1${EPREFIX}/usr\2," \
+ sed -n "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\) > /dev/null ; pwd\`,\1${EPREFIX}/usr\2,p" \
"${CMAKE_BUILD_DIR}/InstallTreeFiles/geant4.sh" > 99geant
doenvd 99geant
fi