summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-09-18 16:29:40 +0000
committerJustin Lecher <jlec@gentoo.org>2010-09-18 16:29:40 +0000
commit8c046c3bbaf36bd567f0ab8364e2b0f5a00479aa (patch)
tree88306e482a75a4a6b649d4392d90152942833cae /app-misc
parentclean old atom (diff)
downloadhistorical-8c046c3bbaf36bd567f0ab8364e2b0f5a00479aa.tar.gz
historical-8c046c3bbaf36bd567f0ab8364e2b0f5a00479aa.tar.bz2
historical-8c046c3bbaf36bd567f0ab8364e2b0f5a00479aa.zip
Respecting LDFLAGS, 337612
Package-Manager: portage-2.2_rc83/cvs/Linux x86_64
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/tdl/ChangeLog10
-rw-r--r--app-misc/tdl/Manifest14
-rw-r--r--app-misc/tdl/files/1.5.2-ldflags.patch13
-rw-r--r--app-misc/tdl/tdl-1.5.2-r1.ebuild69
4 files changed, 103 insertions, 3 deletions
diff --git a/app-misc/tdl/ChangeLog b/app-misc/tdl/ChangeLog
index 713a57f58343..791370525116 100644
--- a/app-misc/tdl/ChangeLog
+++ b/app-misc/tdl/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-misc/tdl
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/tdl/ChangeLog,v 1.22 2009/04/13 02:32:19 darkside Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tdl/ChangeLog,v 1.23 2010/09/18 16:29:40 jlec Exp $
+
+*tdl-1.5.2-r1 (18 Sep 2010)
+
+ 18 Sep 2010; Justin Lecher <jlec@gentoo.org> +files/1.5.2-ldflags.patch,
+ +tdl-1.5.2-r1.ebuild:
+ Respecting LDFLAGS, 337612
13 Apr 2009; Jeremy Olexa <darkside@gentoo.org> -tdl-1.4.1.ebuild,
tdl-1.5.2.ebuild:
diff --git a/app-misc/tdl/Manifest b/app-misc/tdl/Manifest
index 0bb6166fcd4b..e78043322c83 100644
--- a/app-misc/tdl/Manifest
+++ b/app-misc/tdl/Manifest
@@ -1,5 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 1.5.2-ldflags.patch 350 RMD160 ea201b44ecb9eb830b63c6735313101a21992aff SHA1 9f40e8b5cfb865e462c301fbed01de3a4bdf6d8d SHA256 d4924e725a5595342ca530dc5988e3b8ac47a02c1928cf631d9b2c95dc6c9088
AUX screenshot.png 16399 RMD160 7925a0d8590f86ff48d55f5c26feafbdddf0bf0e SHA1 866e02b702632840bebff9fd7e2982c18741e19e SHA256 2eb1735eb2f4bf7f51e765cbeba8ea5fe9b6be5cce3aadc4abb2b720c043ba14
DIST tdl-1.5.2.tar.gz 66057 RMD160 5bf21e214faa208c85e72b67b2f0d21bd279a4fe SHA1 273c15eafa0a856532865ac4ccfee6685f88e1ad SHA256 b43ed73bbdc77527c164b7e99f28c5fe2b7626d30adace78d8c40cca74f7fbfb
+EBUILD tdl-1.5.2-r1.ebuild 1503 RMD160 735aec7a772a1d4122ceebdc0c4a179add0a1e47 SHA1 e607fc792dc1713bf9393a5be8ce2c6fe448e72a SHA256 1b47aa56fdabbe91544ce9524059961e39f0e709da1693cdaa39f3fb0fd3842f
EBUILD tdl-1.5.2.ebuild 1339 RMD160 1139b4a4d2b0b6f61da85d1e9d7c4c482d189dad SHA1 6af6c53f06c40c12a8f19b110087b20f3ba5511b SHA256 51954724b0c687af011856bc8da95c0a4b255d92feb2fc2215f4c6237d98d577
-MISC ChangeLog 2571 RMD160 338911db35fd638da0d8cae1a77adb0a8b9476b7 SHA1 9bb41fc6ee80e207db12a1dfffa63ca16ac51dbb SHA256 1733bca8869f328635ba982bfb0d539b776382f10b53043ce5f0a736dd391f43
+MISC ChangeLog 2725 RMD160 cfdb0a58960708a39b88ec5f99618df3f1bd8d86 SHA1 ec9a733cec55eec04078b4113800f5acdafd485f SHA256 905459e9f0a6a20c69aee8aa3a26040b183e2cb138dd02cda183aef7bc973990
MISC metadata.xml 407 RMD160 f4aa39802680801b03db3e8d6df2c7351084337d SHA1 2810c8240bd4797fbce2c74b78dd609ada0ed30c SHA256 472686160aab68cf327ca9662806d845473072d8a4e4c79a2dcf1fb955ec4d1d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.16 (GNU/Linux)
+
+iEYEARECAAYFAkyU6PkACgkQgAnW8HDreRYfiACfRT+GlBQQIWldMGYt4BeXSLdl
+y6UAnAkqxxULjD9UaQxczeaImXgI08tN
+=BjU+
+-----END PGP SIGNATURE-----
diff --git a/app-misc/tdl/files/1.5.2-ldflags.patch b/app-misc/tdl/files/1.5.2-ldflags.patch
new file mode 100644
index 000000000000..d807fdf02246
--- /dev/null
+++ b/app-misc/tdl/files/1.5.2-ldflags.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile.in b/Makefile.in
+index 46b05ca..eb9b656 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -52,7 +52,7 @@ OBJ = main.o io.o add.o done.o remove.o move.o list.o \
+ all : tdl
+
+ tdl : $(OBJ)
+- $(CC) $(CFLAGS) -o tdl $(OBJ) $(LIB_READLINE)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o tdl $(OBJ) $(LIB_READLINE)
+
+ %.o : %.c
+ $(CC) $(CFLAGS) -c $<
diff --git a/app-misc/tdl/tdl-1.5.2-r1.ebuild b/app-misc/tdl/tdl-1.5.2-r1.ebuild
new file mode 100644
index 000000000000..af599231b77d
--- /dev/null
+++ b/app-misc/tdl/tdl-1.5.2-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/tdl/tdl-1.5.2-r1.ebuild,v 1.1 2010/09/18 16:29:40 jlec Exp $
+
+EAPI="3"
+
+inherit eutils flag-o-matic toolchain-funcs
+
+DESCRIPTION="Command line To Do List manager"
+HOMEPAGE="http://www.rc0.org.uk/tdl/"
+SRC_URI="http://www.rpcurnow.force9.co.uk/tdl/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="doc readline"
+
+RDEPEND="
+ sys-libs/ncurses
+ sys-libs/readline"
+DEPEND="${RDEPEND}
+ sys-apps/texinfo
+ sys-apps/sed
+ doc? ( virtual/texi2dvi )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PV}-ldflags.patch
+}
+
+src_configure() {
+ tc-export CC
+ local myconf="--prefix=${EPREFIX}/usr"
+
+ if ! use readline; then
+ myconf="${myconf} --without-readline"
+
+ sed -i 's#\($(LIB_READLINE)\)#\1 -lncurses##g' "${S}"/Makefile.in
+ fi
+ sed -i 's#-ltermcap#-lncurses#g' "${S}"/configure
+
+ # XXX: do not replace with econf.
+ "${S}"/configure ${myconf} || die "configure failed, sorry!"
+}
+
+src_compile() {
+ emake all tdl.info tdl.html tdl.txt || die
+ use doc && emake tdl.dvi tdl.ps tdl.pdf
+}
+
+src_install() {
+ local i
+
+ dodoc README NEWS tdl.txt "${FILESDIR}/screenshot.png" || die
+ doinfo tdl.info || die
+ dohtml tdl.html || die
+
+ dobin tdl || die
+ doman tdl.1 || die
+
+ for i in tdl{a,l,d,g}
+ do
+ dosym tdl /usr/bin/${i} || die
+ dosym tdl.1 /usr/share/man/man1/${i}.1 || die
+ done
+
+ if use doc; then
+ dodoc tdl.dvi tdl.ps tdl.pdf || die
+ fi
+}