summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/coot/coot-0.7_pre4040.ebuild')
-rw-r--r--sci-chemistry/coot/coot-0.7_pre4040.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/sci-chemistry/coot/coot-0.7_pre4040.ebuild b/sci-chemistry/coot/coot-0.7_pre4040.ebuild
index 519ac27bad9f..2a7e3fccbfb3 100644
--- a/sci-chemistry/coot/coot-0.7_pre4040.ebuild
+++ b/sci-chemistry/coot/coot-0.7_pre4040.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-chemistry/coot/coot-0.7_pre4040.ebuild,v 1.1 2012/03/06 15:31:19 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/coot/coot-0.7_pre4040.ebuild,v 1.2 2012/03/07 19:33:39 jlec Exp $
EAPI=4
@@ -90,6 +90,10 @@ PATCHES=(
)
src_prepare() {
+ sed \
+ -e "s:AM_COOT_SYS_BUILD_TYPE:COOT_SYS_BUILD_TYPE=Gentoo-Linux-$(PYTHON)-gtk2 ; AC_MSG_RESULT([\$COOT_SYS_BUILD_TYPE]); AC_SUBST(COOT_SYS_BUILD_TYPE):g" \
+ -i configure.in || die
+
autotools-utils_src_prepare
cat >> src/svn-revision.cc <<- EOF