summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-sci/kemistry/kemistry-0.7.ebuild')
-rw-r--r--app-sci/kemistry/kemistry-0.7.ebuild16
1 files changed, 13 insertions, 3 deletions
diff --git a/app-sci/kemistry/kemistry-0.7.ebuild b/app-sci/kemistry/kemistry-0.7.ebuild
index 74ca9229515c..abbac9569adc 100644
--- a/app-sci/kemistry/kemistry-0.7.ebuild
+++ b/app-sci/kemistry/kemistry-0.7.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-sci/kemistry/kemistry-0.7.ebuild,v 1.7 2004/08/14 13:30:00 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-sci/kemistry/kemistry-0.7.ebuild,v 1.8 2004/09/05 16:14:30 malc Exp $
-inherit kde
+inherit kde eutils
DESCRIPTION="Kemistry--a set of chemistry related tools for KDE."
HOMEPAGE="http://kemistry.sourceforge.net"
@@ -10,8 +10,18 @@ SRC_URI="mirror://sourceforge/kemistry/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 ~sparc"
+KEYWORDS="x86 ~sparc ~amd64"
IUSE=""
DEPEND="kde-base/kdesdk"
need-kde 3
+
+src_unpack() {
+ kde_src_unpack
+
+ epatch ${FILESDIR}/${P}-gcc3.4.patch
+ if use amd64; then
+ epatch ${FILESDIR}/${P}-fPIC.patch
+ fi
+}
+