summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-06-18 08:28:10 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-06-18 08:28:10 +0000
commitc58d87096e5a621bc787cf21c5f869c96075c643 (patch)
tree24102f5d0577a56aef218398d65e5d1720fd128f /app-editors/teco
parentregex tweaks (diff)
downloadgentoo-2-c58d87096e5a621bc787cf21c5f869c96075c643.tar.gz
gentoo-2-c58d87096e5a621bc787cf21c5f869c96075c643.tar.bz2
gentoo-2-c58d87096e5a621bc787cf21c5f869c96075c643.zip
gcc hardcode removed
Diffstat (limited to 'app-editors/teco')
-rw-r--r--app-editors/teco/ChangeLog5
-rw-r--r--app-editors/teco/Manifest4
-rw-r--r--app-editors/teco/teco-1.00-r1.ebuild12
3 files changed, 15 insertions, 6 deletions
diff --git a/app-editors/teco/ChangeLog b/app-editors/teco/ChangeLog
index b0aa55140eb2..f8aac734dcbd 100644
--- a/app-editors/teco/ChangeLog
+++ b/app-editors/teco/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/teco
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/ChangeLog,v 1.4 2003/06/18 07:52:04 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/ChangeLog,v 1.5 2003/06/18 08:28:02 taviso Exp $
+
+ 18 Jun 2003; Tavis Ormandy <taviso@gentoo.org> teco-1.00-r1.ebuild:
+ removing gcc hardcode
18 Jun 2003; Tavis Ormandy <taviso@gentoo.org> teco-1.00-r1.ebuild:
Marking stable on alpha and x86, added a doc USE flag.
diff --git a/app-editors/teco/Manifest b/app-editors/teco/Manifest
index 03d9e1fce80b..9c48870e1d0d 100644
--- a/app-editors/teco/Manifest
+++ b/app-editors/teco/Manifest
@@ -1,3 +1,3 @@
-MD5 434111b6b30fc498d50cbc90c3df0c06 teco-1.00-r1.ebuild 1486
-MD5 43d97ea88eb5d42b206c72593956a6bd ChangeLog 583
+MD5 3552dde8efb51a0376cce18e38d3ffeb teco-1.00-r1.ebuild 1551
+MD5 a1fa49c80cda812092f03eb552a8949c ChangeLog 678
MD5 8b57d774afe4775a6ffa845c0e1712d0 files/digest-teco-1.00-r1 271
diff --git a/app-editors/teco/teco-1.00-r1.ebuild b/app-editors/teco/teco-1.00-r1.ebuild
index cdb739bcbf46..8b4e3ce8b54d 100644
--- a/app-editors/teco/teco-1.00-r1.ebuild
+++ b/app-editors/teco/teco-1.00-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/teco-1.00-r1.ebuild,v 1.1 2003/06/18 07:48:06 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/teco-1.00-r1.ebuild,v 1.2 2003/06/18 08:28:02 taviso Exp $
DESCRIPTION="Classic TECO editor, Predecessor to EMACS."
HOMEPAGE="http://www.ibiblio.org/pub/linux/apps/editors/tty/"
@@ -18,6 +18,9 @@ DEPEND="virtual/glibc
>=sys-apps/sed-4"
RDEPEND="virtual/glibc
sys-libs/libtermcap-compat"
+
+inherit ccc
+
S=${WORKDIR}
src_unpack() {
@@ -26,7 +29,10 @@ src_unpack() {
src_compile() {
sed -i 's/CFLAGS = -O//' Makefile
+ is-ccc && replace-cc-hardcode
+
emake || die "compilation failed"
+
echo
size te
echo
@@ -34,8 +40,8 @@ src_compile() {
src_install() {
dobin te
- dodoc sample.tecorc sample.tecorc2 READ.ME MANIFEST \
- ${DISTDIR}/{tecolore.txt,tech.txt,teco.doc,tecoprog.doc}
+ dodoc sample.tecorc sample.tecorc2 READ.ME MANIFEST
+ use doc && dodoc ${DISTDIR}/{tecolore.txt,tech.txt,teco.doc,tecoprog.doc}
doman te.1
}