summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-16 20:17:18 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-16 20:17:18 +0000
commitb905fd169d24fe3c134e7620c4c6414d3ef221ad (patch)
tree4aca78551d504cb3b525b5cdd71ea7ac28f5f3dc /app-editors/teco
parentversion bump (Manifest recommit) (diff)
downloadgentoo-2-b905fd169d24fe3c134e7620c4c6414d3ef221ad.tar.gz
gentoo-2-b905fd169d24fe3c134e7620c4c6414d3ef221ad.tar.bz2
gentoo-2-b905fd169d24fe3c134e7620c4c6414d3ef221ad.zip
Fix stupid dependency on sys-libs/libtermcap-compat (i.e. remove it) #64212.
Diffstat (limited to 'app-editors/teco')
-rw-r--r--app-editors/teco/ChangeLog5
-rw-r--r--app-editors/teco/teco-1.00-r2.ebuild25
2 files changed, 17 insertions, 13 deletions
diff --git a/app-editors/teco/ChangeLog b/app-editors/teco/ChangeLog
index 9fae95892b61..f70f2ba0d33a 100644
--- a/app-editors/teco/ChangeLog
+++ b/app-editors/teco/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/teco
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/ChangeLog,v 1.8 2004/06/24 22:02:00 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/ChangeLog,v 1.9 2004/10/16 20:17:18 vapier Exp $
+
+ 16 Oct 2004; Mike Frysinger <vapier@gentoo.org> teco-1.00-r2.ebuild:
+ Fix stupid dependency on sys-libs/libtermcap-compat (i.e. remove it) #64212.
*teco-1.00-r2 (08 Sep 2003)
diff --git a/app-editors/teco/teco-1.00-r2.ebuild b/app-editors/teco/teco-1.00-r2.ebuild
index ff29ed19eec4..a6ff9ecf91f3 100644
--- a/app-editors/teco/teco-1.00-r2.ebuild
+++ b/app-editors/teco/teco-1.00-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/teco-1.00-r2.ebuild,v 1.4 2004/06/27 22:19:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/teco-1.00-r2.ebuild,v 1.5 2004/10/16 20:17:18 vapier Exp $
inherit ccc
@@ -17,29 +17,30 @@ SLOT="0"
KEYWORDS="alpha x86"
IUSE="doc"
-DEPEND="virtual/libc
- sys-libs/libtermcap-compat
+RDEPEND="virtual/libc"
+DEPEND="${DEPEND}
>=sys-apps/sed-4"
-RDEPEND="virtual/libc
- sys-libs/libtermcap-compat"
PROVIDE="virtual/editor"
S=${WORKDIR}
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ cd ${S}
# Remove hardcoded compiler and CFLAGS
- sed -i 's/CFLAGS = -O//' Makefile
+ sed -i \
+ -e 's/CFLAGS = -O//' \
+ -e 's:-ltermcap:-lncurses:' \
+ Makefile
replace-cc-hardcode
+}
+src_compile() {
emake || die "compilation failed"
-
- echo
- size te; ls -l te
- echo
}
src_install() {
- dobin te
+ dobin te || die
dodoc sample.tecorc sample.tecorc2 READ.ME MANIFEST
use doc && dodoc tecolore.txt tech.txt teco.doc tecoprog.doc
doman te.1