diff options
Diffstat (limited to 'app-sci/xcircuit/xcircuit-2.5.4.ebuild')
-rw-r--r-- | app-sci/xcircuit/xcircuit-2.5.4.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/app-sci/xcircuit/xcircuit-2.5.4.ebuild b/app-sci/xcircuit/xcircuit-2.5.4.ebuild index 35df5be57f0b..20a2f32493a6 100644 --- a/app-sci/xcircuit/xcircuit-2.5.4.ebuild +++ b/app-sci/xcircuit/xcircuit-2.5.4.ebuild @@ -1,16 +1,15 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/xcircuit/xcircuit-2.5.4.ebuild,v 1.14 2004/01/05 13:12:30 plasmaroo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-sci/xcircuit/xcircuit-2.5.4.ebuild,v 1.15 2004/04/19 12:55:01 phosphan Exp $ -inherit flag-o-matic - -S=${WORKDIR}/${P} +inherit flag-o-matic eutils DESCRIPTION="Circuit drawing and schematic capture program." SRC_URI="http://xcircuit.ece.jhu.edu/archive/${P}.tar.bz2" HOMEPAGE="http://xcircuit.ece.jhu.edu" KEYWORDS="x86 ppc" +IUSE="" SLOT="0" LICENSE="GPL-2" @@ -25,11 +24,11 @@ src_unpack() { unpack ${A} cd ${S} - patch xcircuit.c < ${FILESDIR}/${PN}-${PV}-XQueryColor.patch || die "patch failed" + epatch ${FILESDIR}/${PN}-${PV}-XQueryColor.patch #only apply this patch if under gcc-3.2 if [ "`gcc -dumpversion | cut -d. -f1,2`" == "3.2" ]; then - patch files.c <${FILESDIR}/${PN}-${PV}-sigsegv.patch || die "patch failed" + epatch ${FILESDIR}/${PN}-${PV}-sigsegv.patch fi } |