summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-05-22 23:22:09 +0000
committerMichael Weber <xmw@gentoo.org>2011-05-22 23:22:09 +0000
commitfeb2cb9b2713b2698cb1bd488ca312142cdd60c9 (patch)
treefe203a26d3fea80c987577b7f2e095f45e26aa0e /net-misc/batctl
parentDEPEND on dev-util/pkgconfig by dE (bug #368359). Sort DEPEND entries. (diff)
downloadgentoo-2-feb2cb9b2713b2698cb1bd488ca312142cdd60c9.tar.gz
gentoo-2-feb2cb9b2713b2698cb1bd488ca312142cdd60c9.tar.bz2
gentoo-2-feb2cb9b2713b2698cb1bd488ca312142cdd60c9.zip
Improved sed expression and src_compile
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/batctl')
-rw-r--r--net-misc/batctl/ChangeLog5
-rw-r--r--net-misc/batctl/batctl-2011.1.0.ebuild11
2 files changed, 9 insertions, 7 deletions
diff --git a/net-misc/batctl/ChangeLog b/net-misc/batctl/ChangeLog
index ef8021e350cc..3b41b4f2e7f3 100644
--- a/net-misc/batctl/ChangeLog
+++ b/net-misc/batctl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/batctl
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/ChangeLog,v 1.1 2011/05/20 23:02:17 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/ChangeLog,v 1.2 2011/05/22 23:22:09 xmw Exp $
+
+ 22 May 2011; Michael Weber <xmw@gentoo.org> batctl-2011.1.0.ebuild:
+ Improved sed expression and src_compile, thanks to Emil Langrock (bug 368213)
*batctl-2011.1.0 (20 May 2011)
diff --git a/net-misc/batctl/batctl-2011.1.0.ebuild b/net-misc/batctl/batctl-2011.1.0.ebuild
index 965b7f25e8f4..c97ad6e28263 100644
--- a/net-misc/batctl/batctl-2011.1.0.ebuild
+++ b/net-misc/batctl/batctl-2011.1.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/batctl-2011.1.0.ebuild,v 1.2 2011/05/20 23:39:58 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/batctl/batctl-2011.1.0.ebuild,v 1.3 2011/05/22 23:22:09 xmw Exp $
EAPI=3
@@ -27,15 +27,14 @@ pkg_setup() {
}
src_prepare() {
- sed -e "/^CFLAGS/s: -O.* : :" \
- -e "/^CFLAGS/s: -g.* : :" \
- -e "/^NUM_CPUS/d" \
- -e "/\$(MAKE)/s: -j \$(NUM_CPUS) : :" \
+ sed -e "/^CFLAGS/s: -O[^[:space:]]* : :" \
+ -e "/^CFLAGS/s: -g[^[:space:]]* : :" \
+ -e "s: -j \$(NUM_CPUS) : :" \
-i Makefile || die
}
src_compile() {
- emake CC=$(tc-getCC) Q_CC="" Q_LD="" || die
+ emake CC="$(tc-getCC)" V=1 || die
}
src_install() {