summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-05-06 23:08:00 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-05-06 23:08:00 +0000
commit70a3a0b0538bdb53f290f81eafcee6b8f5d789d3 (patch)
tree58f6766f7147972105339f3886cdcb896e6cc866 /sci-physics/espresso
parentMigrate to qt4-r2.eclass and fix Qt dependencies. (diff)
downloadgentoo-2-70a3a0b0538bdb53f290f81eafcee6b8f5d789d3.tar.gz
gentoo-2-70a3a0b0538bdb53f290f81eafcee6b8f5d789d3.tar.bz2
gentoo-2-70a3a0b0538bdb53f290f81eafcee6b8f5d789d3.zip
add Darwin fixes
(Portage version: 2.2.0_alpha101/cvs/Linux i686)
Diffstat (limited to 'sci-physics/espresso')
-rw-r--r--sci-physics/espresso/ChangeLog5
-rw-r--r--sci-physics/espresso/espresso-3.1.0.ebuild7
2 files changed, 10 insertions, 2 deletions
diff --git a/sci-physics/espresso/ChangeLog b/sci-physics/espresso/ChangeLog
index bcb2f8024f36..0f3783871593 100644
--- a/sci-physics/espresso/ChangeLog
+++ b/sci-physics/espresso/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-physics/espresso
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.9 2012/05/06 21:02:35 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/ChangeLog,v 1.10 2012/05/06 23:08:00 ottxor Exp $
+
+ 06 May 2012; Christoph Junghans <ottxor@gentoo.org> espresso-3.1.0.ebuild:
+ add Darwin fixes
06 May 2012; Christoph Junghans <ottxor@gentoo.org> espresso-3.1.0.ebuild:
fix deps + add prefix keywords
diff --git a/sci-physics/espresso/espresso-3.1.0.ebuild b/sci-physics/espresso/espresso-3.1.0.ebuild
index 92ebc7963dc1..685cac47c714 100644
--- a/sci-physics/espresso/espresso-3.1.0.ebuild
+++ b/sci-physics/espresso/espresso-3.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/espresso-3.1.0.ebuild,v 1.4 2012/05/06 21:02:35 ottxor Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/espresso/espresso-3.1.0.ebuild,v 1.5 2012/05/06 23:08:00 ottxor Exp $
EAPI=4
@@ -46,6 +46,11 @@ src_prepare() {
autotools-utils_src_prepare
eautoreconf
restore_config myconfig.h
+ rm -f src/myconfig-final.h
+ if [[ ${CHOST} == *-darwin* ]]; then
+ #tclline uses stty, which has different exit code on Darwin
+ sed -i '/source.*tclline/s/^/#/' "scripts/init.tcl" || die
+ fi
}
src_configure() {