summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2011-01-26 19:14:01 +0000
committerThilo Bangert <bangert@gentoo.org>2011-01-26 19:14:01 +0000
commitb3673f7c658e240834757ef162cf74b444f7875b (patch)
tree08a466e4f7b8b63c592cb260636005a4e95bb628 /net-wireless/wavemon
parentStable on amd64 wrt bug #352744 (diff)
downloadgentoo-2-b3673f7c658e240834757ef162cf74b444f7875b.tar.gz
gentoo-2-b3673f7c658e240834757ef162cf74b444f7875b.tar.bz2
gentoo-2-b3673f7c658e240834757ef162cf74b444f7875b.zip
Respect CFLAGS for real (#241096)
(Portage version: 2.2.0_alpha19/cvs/Linux i686)
Diffstat (limited to 'net-wireless/wavemon')
-rw-r--r--net-wireless/wavemon/ChangeLog6
-rw-r--r--net-wireless/wavemon/files/wavemon-0.6.7-dont-override-CFLAGS.patch11
-rw-r--r--net-wireless/wavemon/wavemon-0.6.7.ebuild5
-rw-r--r--net-wireless/wavemon/wavemon-0.7.1.ebuild9
4 files changed, 27 insertions, 4 deletions
diff --git a/net-wireless/wavemon/ChangeLog b/net-wireless/wavemon/ChangeLog
index 1a1bfbf5f039..2ecf3ffae31e 100644
--- a/net-wireless/wavemon/ChangeLog
+++ b/net-wireless/wavemon/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-wireless/wavemon
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.30 2011/01/26 10:20:38 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.31 2011/01/26 19:14:01 bangert Exp $
+
+ 26 Jan 2011; Thilo Bangert <bangert@gentoo.org> wavemon-0.6.7.ebuild,
+ +files/wavemon-0.6.7-dont-override-CFLAGS.patch, wavemon-0.7.1.ebuild:
+ Respect CFLAGS for real (#241096)
26 Jan 2011; Thilo Bangert <bangert@gentoo.org> -wavemon-0.3.3.ebuild,
-wavemon-0.4.0b-r1.ebuild:
diff --git a/net-wireless/wavemon/files/wavemon-0.6.7-dont-override-CFLAGS.patch b/net-wireless/wavemon/files/wavemon-0.6.7-dont-override-CFLAGS.patch
new file mode 100644
index 000000000000..609c759c4aef
--- /dev/null
+++ b/net-wireless/wavemon/files/wavemon-0.6.7-dont-override-CFLAGS.patch
@@ -0,0 +1,11 @@
+--- configure.ac.orig 2011-01-26 15:59:05.000000000 +0100
++++ configure.ac 2011-01-26 15:59:17.000000000 +0100
+@@ -9,8 +9,6 @@
+ AC_DEFINE_UNQUOTED([BUILD_DATE], ["`/bin/date`"],
+ [date wavemon was last configured and built])
+
+-CFLAGS="-O2 -Wall"
+-
+ # wavemon is only supported on Linux, warn user about futile compilations
+ AC_CANONICAL_HOST
+ case "$host_os" in
diff --git a/net-wireless/wavemon/wavemon-0.6.7.ebuild b/net-wireless/wavemon/wavemon-0.6.7.ebuild
index 6adde44bb664..285b31e3395d 100644
--- a/net-wireless/wavemon/wavemon-0.6.7.ebuild
+++ b/net-wireless/wavemon/wavemon-0.6.7.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.6.7.ebuild,v 1.2 2009/10/17 18:50:38 hanno Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.6.7.ebuild,v 1.3 2011/01/26 19:14:01 bangert Exp $
EAPI="2"
@@ -20,6 +20,7 @@ RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}/${P}-as-needed.diff"
+ epatch "${FILESDIR}/${P}-dont-override-CFLAGS.patch"
eautoreconf
}
diff --git a/net-wireless/wavemon/wavemon-0.7.1.ebuild b/net-wireless/wavemon/wavemon-0.7.1.ebuild
index 40eea966ccd0..38661909f0c6 100644
--- a/net-wireless/wavemon/wavemon-0.7.1.ebuild
+++ b/net-wireless/wavemon/wavemon-0.7.1.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.7.1.ebuild,v 1.1 2011/01/26 10:17:09 bangert Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.7.1.ebuild,v 1.2 2011/01/26 19:14:01 bangert Exp $
EAPI="3"
+inherit autotools
+
DESCRIPTION="Ncurses based monitor for IEEE 802.11 wireless LAN cards"
HOMEPAGE="http://eden-feed.erg.abdn.ac.uk/wavemon/"
SRC_URI="http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases/${P}.tar.bz2"
@@ -16,6 +18,11 @@ IUSE=""
DEPEND="sys-libs/ncurses"
RDEPEND="${DEPEND}"
+src_prepare() {
+ epatch "${FILESDIR}/${PN}-0.6.7-dont-override-CFLAGS.patch"
+ eautoreconf
+}
+
src_install() {
emake DESTDIR="${D}" install \
|| die "make install failed"