summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-07-01 07:30:28 +0000
committerTim Harder <radhermit@gentoo.org>2013-07-01 07:30:28 +0000
commit80ea4a768d791f26d8d27d693a4389957298be86 (patch)
treec3e007f161a17f6816a0b0d572e0a5c53d42d649 /net-news
parentRespect AR and RANLIB (bug #475320). (diff)
downloadgentoo-2-80ea4a768d791f26d8d27d693a4389957298be86.tar.gz
gentoo-2-80ea4a768d791f26d8d27d693a4389957298be86.tar.bz2
gentoo-2-80ea4a768d791f26d8d27d693a4389957298be86.zip
Simplify sed line.
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'net-news')
-rw-r--r--net-news/newsbeuter/ChangeLog5
-rw-r--r--net-news/newsbeuter/newsbeuter-2.6.ebuild10
2 files changed, 7 insertions, 8 deletions
diff --git a/net-news/newsbeuter/ChangeLog b/net-news/newsbeuter/ChangeLog
index 745564d9cb7b..f7a78e15e07e 100644
--- a/net-news/newsbeuter/ChangeLog
+++ b/net-news/newsbeuter/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-news/newsbeuter
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.46 2013/07/01 07:25:20 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/ChangeLog,v 1.47 2013/07/01 07:30:28 radhermit Exp $
+
+ 01 Jul 2013; Tim Harder <radhermit@gentoo.org> newsbeuter-2.6.ebuild:
+ Simplify sed line.
01 Jul 2013; Tim Harder <radhermit@gentoo.org> newsbeuter-2.6.ebuild:
Respect AR and RANLIB (bug #475320).
diff --git a/net-news/newsbeuter/newsbeuter-2.6.ebuild b/net-news/newsbeuter/newsbeuter-2.6.ebuild
index 055f607cbb9b..ac1cc0dd9dca 100644
--- a/net-news/newsbeuter/newsbeuter-2.6.ebuild
+++ b/net-news/newsbeuter/newsbeuter-2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-2.6.ebuild,v 1.5 2013/07/01 07:25:20 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/newsbeuter/newsbeuter-2.6.ebuild,v 1.6 2013/07/01 07:30:28 radhermit Exp $
EAPI="5"
@@ -34,11 +34,7 @@ DEPEND="${RDEPEND}
RESTRICT="test"
src_prepare() {
- sed -i \
- -e "s:-ggdb:${CXXFLAGS}:" \
- -e "s:^CXX=.*:CXX=$(tc-getCXX):" \
- Makefile
-
+ sed -i 's:-ggdb::' Makefile || die
epatch "${FILESDIR}"/${P}-json-c.patch
}
@@ -47,7 +43,7 @@ src_configure() {
}
src_compile() {
- emake AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
+ emake CXX="$(tc-getCXX)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)"
}
src_test() {