From: Florian Fainelli Date: Sat, 8 Mar 2014 00:58:16 +0000 (+0000) Subject: wavemon: patch configure to leave room for our CFLAGS X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d1975775c8e820af86e65b26fdfeaa7d70aca671;p=openwrt%2Fsvn-archive%2Fpackages.git wavemon: patch configure to leave room for our CFLAGS The configure script was hardcoding CFLAGS, remove that Signed-off-by: Florian Fainelli SVN-Revision: 39840 --- diff --git a/net/wavemon/Makefile b/net/wavemon/Makefile index 2f2460239..e6d7e1f5e 100644 --- a/net/wavemon/Makefile +++ b/net/wavemon/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2008-2012 OpenWrt.org +# Copyright (C) 2008-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wavemon PKG_VERSION:=0.7.5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://eden-feed.erg.abdn.ac.uk/wavemon/stable-releases diff --git a/net/wavemon/patches/001-cflags_override.patch b/net/wavemon/patches/001-cflags_override.patch new file mode 100644 index 000000000..77a8e307b --- /dev/null +++ b/net/wavemon/patches/001-cflags_override.patch @@ -0,0 +1,11 @@ +--- a/configure ++++ b/configure +@@ -2174,8 +2174,6 @@ cat >>confdefs.h <<_ACEOF + _ACEOF + + +-CFLAGS="-O2 -Wall" +- + # wavemon is only supported on Linux, warn user about futile compilations + # Make sure we can run config.sub. + $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||