summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-09 10:28:22 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-09 10:28:22 +0000
commitde6602b982e71dbf6bfee626358861dd8449ab2d (patch)
treeaf4cd6224b5f0b356f2b5b870a77e91bf8715f3e /sci-electronics/xcircuit/xcircuit-3.4.18.ebuild
parentDepend <dev-lang/tk-8.5. (diff)
downloadhistorical-de6602b982e71dbf6bfee626358861dd8449ab2d.tar.gz
historical-de6602b982e71dbf6bfee626358861dd8449ab2d.tar.bz2
historical-de6602b982e71dbf6bfee626358861dd8449ab2d.zip
Fix qa warns as well
Package-Manager: portage-2.2_rc36/cvs/Linux x86_64
Diffstat (limited to 'sci-electronics/xcircuit/xcircuit-3.4.18.ebuild')
-rw-r--r--sci-electronics/xcircuit/xcircuit-3.4.18.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sci-electronics/xcircuit/xcircuit-3.4.18.ebuild b/sci-electronics/xcircuit/xcircuit-3.4.18.ebuild
index 9574998d4229..c8c5e27918f6 100644
--- a/sci-electronics/xcircuit/xcircuit-3.4.18.ebuild
+++ b/sci-electronics/xcircuit/xcircuit-3.4.18.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-3.4.18.ebuild,v 1.10 2009/08/09 10:25:44 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/xcircuit/xcircuit-3.4.18.ebuild,v 1.11 2009/08/09 10:28:22 ssuominen Exp $
DESCRIPTION="Circuit drawing and schematic capture program."
SRC_URI="http://opencircuitdesign.com/xcircuit/archive/${P}.tgz"
@@ -11,16 +11,17 @@ SLOT="0"
LICENSE="GPL-2"
IUSE=""
-DEPEND="virtual/ghostscript
+RDEPEND="virtual/ghostscript
<dev-lang/tk-8.5
x11-libs/libXt"
+DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
sed -i \
-e "s:\$(datadir):\$(libdir):" \
-e "s:\$(appmandir):\$(mandir)/man1:" \
- ${S}/Makefile.in
+ "${S}"/Makefile.in
}
src_compile() {
@@ -33,7 +34,7 @@ src_compile() {
}
src_install () {
- make DESTDIR=${D} install || die "Installation failed"
+ emake DESTDIR="${D}" install || die "Installation failed"
dodoc CHANGES README* TODO
}