summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-09-17 06:23:41 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-09-17 06:23:41 +0000
commit01e9b3426bb917bb168821207ea98bfd9e847ddc (patch)
tree0c3dfdf385d68e8ad936ce196dda3c02ceff2d6f /app-editors/teco
parentFixed typo in elog message: point to correct location at upstream's wiki (diff)
downloadhistorical-01e9b3426bb917bb168821207ea98bfd9e847ddc.tar.gz
historical-01e9b3426bb917bb168821207ea98bfd9e847ddc.tar.bz2
historical-01e9b3426bb917bb168821207ea98bfd9e847ddc.zip
respect LDFLAGS, bug 337718; move to EAPI 3
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'app-editors/teco')
-rw-r--r--app-editors/teco/ChangeLog5
-rw-r--r--app-editors/teco/Manifest12
-rw-r--r--app-editors/teco/teco-1.00-r3.ebuild11
3 files changed, 16 insertions, 12 deletions
diff --git a/app-editors/teco/ChangeLog b/app-editors/teco/ChangeLog
index 5a6409c335c3..2afeeca0da03 100644
--- a/app-editors/teco/ChangeLog
+++ b/app-editors/teco/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/teco
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/ChangeLog,v 1.21 2010/01/15 02:12:22 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/ChangeLog,v 1.22 2010/09/17 06:23:41 fauli Exp $
+
+ 17 Sep 2010; Christian Faulhammer <fauli@gentoo.org> teco-1.00-r3.ebuild:
+ respect LDFLAGS, bug 337718; move to EAPI 3
15 Jan 2010; Jonathan Callen <abcd@gentoo.org> +files/teco-gcc4.patch,
teco-1.00-r3.ebuild:
diff --git a/app-editors/teco/Manifest b/app-editors/teco/Manifest
index 1df3c081acd5..44ef56d5c103 100644
--- a/app-editors/teco/Manifest
+++ b/app-editors/teco/Manifest
@@ -8,13 +8,13 @@ DIST teco.doc.gz 129896 RMD160 c5f473a123421915bebc4c263405d1875dfa4e77 SHA1 a58
DIST teco.tar.gz 61305 RMD160 3df97837e5044bb27d99686f681661555638e2c1 SHA1 7d91f206f04e76fe1ae60471795b31f9d75f2df7 SHA256 2d20d7246df15863a3cc485ee38706fd4dd8650aab0578d202913cc5750fc8e4
DIST tecolore.txt.gz 7039 RMD160 f93e3eda3b9dbebae4808ed133139553713c24d9 SHA1 7043e1fa5edb423bec4392514389d6be94db7a8e SHA256 a7cd56d4d9bce8befd8d73fe8cbb1ab22740571f52354880c84ffd0fcd22d884
DIST tecoprog.doc.gz 15629 RMD160 e77708805a5fa469548a1ab82d1f8369fbaea3d7 SHA1 789abb58c25367c7f130dd081213e9bf30d1090d SHA256 8e0349b73ffcd22c668d81ea1427f93324d8f236862847634f7118fd4cde26d7
-EBUILD teco-1.00-r3.ebuild 1453 RMD160 4fdae228369bafedb8e43a4b94424594daec5bed SHA1 7186988614cd7fbf427df4618fb4e0abf1d5f9b1 SHA256 d8ab923b5dc33483d85be2f1405c82b30343639450d4b69e74842a854dbc3d72
-MISC ChangeLog 2564 RMD160 742a04334efb85d526ff4db0c206875d320275ec SHA1 e7df6d1cf3fa80b698352390c58394aa52efc416 SHA256 66e1cf1257cebbd9c366a6814713a5f55ced188564ac4c7018d4efa180959739
+EBUILD teco-1.00-r3.ebuild 1496 RMD160 497a9c3b5887a6644d898654fd6e71352526e05f SHA1 0506601d12702f32afdd55c2841afff91c20725c SHA256 ec404d6ff321d9022de6dd5ea53ce0e4ab21333cae43749ee076d556ad07578c
+MISC ChangeLog 2688 RMD160 01f5a0a8dd06184b704b04e37bd580655d4621b5 SHA1 24052c90952fb73f8d43fa572fb9385a93307c01 SHA256 71a9d59f8ed1cb712b9b8e34e7281d9e92a34447e8205f4c542ccd90ce57c1f9
MISC metadata.xml 1278 RMD160 6a075abf23d54b0dbe33d3403211cb8c855f906e SHA1 00b760d5c7edc014ba0b8893752bce98a124408f SHA256 16a0d5e5ff0ce75a78248d0d6179df28947401e433e3cdeecab675b08bdd741d
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAktPzxEACgkQOypDUo0oQOpdowCeIUQPj4Gc/jeVwxJANWydN2lT
-H9kAn0XM2+6NzByzOuIzl6tnwuEpT3R3
-=JyKf
+iEYEARECAAYFAkyTCa0ACgkQNQqtfCuFneNDqQCgheia+IxrR0NsFaMLIbzrM1tV
+bcMAoIXovSomhfkfbvOKpPKrIfH0cGU4
+=YzNB
-----END PGP SIGNATURE-----
diff --git a/app-editors/teco/teco-1.00-r3.ebuild b/app-editors/teco/teco-1.00-r3.ebuild
index 5bb70c7e8e46..cd7ae7929945 100644
--- a/app-editors/teco/teco-1.00-r3.ebuild
+++ b/app-editors/teco/teco-1.00-r3.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/teco-1.00-r3.ebuild,v 1.9 2010/01/15 02:12:22 abcd Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/teco/teco-1.00-r3.ebuild,v 1.10 2010/09/17 06:23:41 fauli Exp $
+
+EAPI=3
inherit toolchain-funcs flag-o-matic
@@ -22,9 +24,8 @@ DEPEND="${RDEPEND}"
S=${WORKDIR}
-src_unpack() {
- unpack ${A}
- sed -i -e 's:-ltermcap:-lncurses:' Makefile
+src_prepare() {
+ sed -e 's:$(CC) -o te $(OBJS):$(CC) ${LDFLAGS} -o te $(OBJS):' -e 's:-ltermcap:-lncurses:' -i Makefile || die
# bug 103257
epatch "${FILESDIR}"/${PN}-double-free.diff
epatch "${FILESDIR}"/${PN}-gcc4.patch
@@ -32,7 +33,7 @@ src_unpack() {
src_compile() {
append-flags -ansi -D_POSIX_SOURCE
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "compilation failed"
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
}
src_install() {