summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <rhill@gentoo.org>2010-09-18 05:49:29 +0000
committerRyan Hill <rhill@gentoo.org>2010-09-18 05:49:29 +0000
commitfc278eebb158b614a09d5e999c3d5173c935bd91 (patch)
tree9012469242797f396e46ecb6e26e72e77b194ed9 /media-gfx/cfe
parentRespect LDFLAGS (bug #335985), CC. (diff)
downloadhistorical-fc278eebb158b614a09d5e999c3d5173c935bd91.tar.gz
historical-fc278eebb158b614a09d5e999c3d5173c935bd91.tar.bz2
historical-fc278eebb158b614a09d5e999c3d5173c935bd91.zip
Respect LDFLAGS (bug #337614 by Diego).
Package-Manager: portage-2.2_rc83/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/cfe')
-rw-r--r--media-gfx/cfe/ChangeLog8
-rw-r--r--media-gfx/cfe/Manifest13
-rw-r--r--media-gfx/cfe/cfe-0.12.ebuild12
-rw-r--r--media-gfx/cfe/files/cfe-0.12-LDFLAGS.patch21
4 files changed, 41 insertions, 13 deletions
diff --git a/media-gfx/cfe/ChangeLog b/media-gfx/cfe/ChangeLog
index bda69472d421..31269c0c159a 100644
--- a/media-gfx/cfe/ChangeLog
+++ b/media-gfx/cfe/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/cfe
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/cfe/ChangeLog,v 1.5 2009/06/09 02:17:13 flameeyes Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/cfe/ChangeLog,v 1.6 2010/09/18 05:49:29 dirtyepic Exp $
+
+ 18 Sep 2010; Ryan Hill <dirtyepic@gentoo.org> cfe-0.12.ebuild,
+ +files/cfe-0.12-LDFLAGS.patch:
+ Respect LDFLAGS (bug #337614 by Diego).
09 Jun 2009; Diego E. Pettenò <flameeyes@gentoo.org> cfe-0.12.ebuild:
Remove autoconf 2.1 requirement, package builds fine with 2.63.
diff --git a/media-gfx/cfe/Manifest b/media-gfx/cfe/Manifest
index 284e6b983f36..8eb2f6524df5 100644
--- a/media-gfx/cfe/Manifest
+++ b/media-gfx/cfe/Manifest
@@ -1,14 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX cfe-0.12-LDFLAGS.patch 553 RMD160 8c609c52e132f873f7332a900db83c29f29f8119 SHA1 6a95f73de6c823a08a2aa54c12693847fb2d9d26 SHA256 7860d97cdcd30f36fd3ca6bc7c8e9ef91a1626c4c9229d5e171078101974e257
DIST cfe-0.12.tar.gz 33314 RMD160 a1095692509d76567be6653a2c6f5e25b998b3ef SHA1 1c52b9a4beda67267d3d256270b2a7c828d50e75 SHA256 b140f8cb461f88d59b37f90df2e351521513d125d16e1f267a7c268fd35b6696
-EBUILD cfe-0.12.ebuild 806 RMD160 59d2850f5661170619b6cc7888f62e1540fd23cf SHA1 7fa9c20606e6ea9026b9d1a2658e368e9cf84af4 SHA256 0cc3c7c59ccc18db56d1ef321046c8e5e9a4e3d2c7456915c58360daa6a2a240
-MISC ChangeLog 918 RMD160 abebc9b9a15651a22a0ab9e2dceaab86976ab72d SHA1 b56f9729eea2a965a3438ee3223841e109ac60e4 SHA256 32b481f3e82906e268aeb58dace4c56dcb37dc63d0d71a59a3718ce7999b2dfa
+EBUILD cfe-0.12.ebuild 854 RMD160 35e672f8340089342a51d028dea074cdb82cdcec SHA1 606964ec4d15ad39a6da64eb10d540fe74e13eca SHA256 f0dff8a35ec22ca1177706fb9c66d60ad89b0468b4650c492afed99c213e55dd
+MISC ChangeLog 1059 RMD160 816d9347812fe3feaed8bd5a56378bc3bd9490bd SHA1 8936e8b19f08cbba4191c5c9399e2ae77f036235 SHA256 7f5a87d17ba5fb8d0e393bb042711c48af21168b3b1b3e2fc68f769fbc2f3c04
MISC metadata.xml 158 RMD160 e563fdca0707ee5927deab77f2e5ef79816384ca SHA1 8e4ca6d183e52cdbea8cfba08b7a7910e648fc84 SHA256 9a8722fb0b5a1992b3942e85f23df4e08f10cabc2d783ca887479abe115b3ea8
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.16 (GNU/Linux)
-iEYEARECAAYFAkotxjUACgkQAiZjviIA2Xg3VACfWwZRRbmXc4FzMd3ug5925S7Q
-vZsAn2g1UZzVyii/dMiBm5p6x4hqJtTw
-=RrO9
+iEYEARECAAYFAkyUU/0ACgkQiqiDRvmkBmIXxACfWkFOfNugb9Td8IQfUFYI7HHf
+CuEAoJTmoxJ9mojRCZnyZirosRZlsWSW
+=HpUV
-----END PGP SIGNATURE-----
diff --git a/media-gfx/cfe/cfe-0.12.ebuild b/media-gfx/cfe/cfe-0.12.ebuild
index 50858f4837d5..9c689fe84810 100644
--- a/media-gfx/cfe/cfe-0.12.ebuild
+++ b/media-gfx/cfe/cfe-0.12.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/cfe/cfe-0.12.ebuild,v 1.4 2009/06/09 02:17:13 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/cfe/cfe-0.12.ebuild,v 1.5 2010/09/18 05:49:29 dirtyepic Exp $
+
+EAPI="3"
inherit eutils autotools
@@ -15,10 +17,10 @@ KEYWORDS="~ppc ~x86"
IUSE=""
DEPEND="sys-libs/ncurses"
+RDEPEND="${DEPEND}"
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-LDFLAGS.patch
# Remove unconditional assignment of CFLAGS
sed -i -e '/GCC = yes/d' configure.in
diff --git a/media-gfx/cfe/files/cfe-0.12-LDFLAGS.patch b/media-gfx/cfe/files/cfe-0.12-LDFLAGS.patch
new file mode 100644
index 000000000000..6a645be0f970
--- /dev/null
+++ b/media-gfx/cfe/files/cfe-0.12-LDFLAGS.patch
@@ -0,0 +1,21 @@
+diff --git a/Makefile.in b/Makefile.in
+index 726d224..e65c1b5 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -12,6 +12,7 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
+ INSTALL_DATA = @INSTALL_DATA@
+ CC = @CC@
+ CFLAGS = @CFLAGS@
++LDFLAGS = @LDFLAGS@
+
+ OBJS = cfe.o font.o help.o keyb.o scr.o undo.o
+
+@@ -20,7 +21,7 @@ OBJS = cfe.o font.o help.o keyb.o scr.o undo.o
+ all: cfe
+
+ cfe: $(OBJS)
+- $(CC) -o $@ $(OBJS) -l@CURSES_LIB@
++ $(CC) -o $@ $(OBJS) $(LDFLAGS) -l@CURSES_LIB@
+
+ install: cfe
+ $(INSTALL_PROGRAM) cfe $(bindir)