summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2008-08-05 05:48:56 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2008-08-05 05:48:56 +0000
commit1499e18cd4f7cc51439bfde42a1b76fe2418740a (patch)
tree1fc372c11b474332f393ddb4c8d0e230a3a847e0 /sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
parentArora release 0.3 (diff)
downloadgentoo-2-1499e18cd4f7cc51439bfde42a1b76fe2418740a.tar.gz
gentoo-2-1499e18cd4f7cc51439bfde42a1b76fe2418740a.tar.bz2
gentoo-2-1499e18cd4f7cc51439bfde42a1b76fe2418740a.zip
Fix for gcc 4.3.
(Portage version: 2.2_rc5/cvs/Linux 2.6.26 x86_64)
Diffstat (limited to 'sci-chemistry/autodock/autodock-4.0.1-r1.ebuild')
-rw-r--r--sci-chemistry/autodock/autodock-4.0.1-r1.ebuild12
1 files changed, 10 insertions, 2 deletions
diff --git a/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild b/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
index 65b45058f4b2..5d84dfb185c9 100644
--- a/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
+++ b/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild,v 1.1 2007/06/26 18:42:29 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/autodock/autodock-4.0.1-r1.ebuild,v 1.2 2008/08/05 05:48:56 dberkholz Exp $
+
+inherit eutils
MY_PN="autodocksuite"
MY_P="${MY_PN}-${PV}"
@@ -16,6 +18,12 @@ IUSE=""
S="${WORKDIR}/${MY_P}/src"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PV}-gcc-4.3.patch
+}
+
src_compile() {
cd autodock/
econf || die "AutoDock econf failed."