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
commitb973e847b93e3c7d5b35fdfc67b41dbae28ba90b (patch)
tree6b19c951594f3160f4e6b5facec3f941aae8b538 /sci-electronics
parentDepend <dev-lang/tk-8.5. (diff)
downloadgentoo-2-b973e847b93e3c7d5b35fdfc67b41dbae28ba90b.tar.gz
gentoo-2-b973e847b93e3c7d5b35fdfc67b41dbae28ba90b.tar.bz2
gentoo-2-b973e847b93e3c7d5b35fdfc67b41dbae28ba90b.zip
Fix qa warns as well
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'sci-electronics')
-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
}