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
commit6dc94ff085448235a1c1e86c79e73ffd63fffeff (patch)
treee72c1f2545109e49ada457db9964b5a83826103d /sci-chemistry/autodock/autodock-4.0.1-r1.ebuild
parentArora release 0.3 (diff)
downloadhistorical-6dc94ff085448235a1c1e86c79e73ffd63fffeff.tar.gz
historical-6dc94ff085448235a1c1e86c79e73ffd63fffeff.tar.bz2
historical-6dc94ff085448235a1c1e86c79e73ffd63fffeff.zip
Fix for gcc 4.3.
Package-Manager: portage-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."