diff options
author | Hanno Böck <hanno@gentoo.org> | 2009-10-17 18:50:39 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2009-10-17 18:50:39 +0000 |
commit | 1fd2915a345267914e22ddbe16a5ed005f9984b3 (patch) | |
tree | 87bc5006ef086a3c0d8d361638e0793332f15ea9 /net-wireless/wavemon | |
parent | Remove unneeded gentoo-specific patch tarball (diff) | |
download | gentoo-2-1fd2915a345267914e22ddbe16a5ed005f9984b3.tar.gz gentoo-2-1fd2915a345267914e22ddbe16a5ed005f9984b3.tar.bz2 gentoo-2-1fd2915a345267914e22ddbe16a5ed005f9984b3.zip |
net-wireless/wavemon: Fix for --as-needed.
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'net-wireless/wavemon')
-rw-r--r-- | net-wireless/wavemon/ChangeLog | 6 | ||||
-rw-r--r-- | net-wireless/wavemon/files/wavemon-0.6.7-as-needed.diff | 19 | ||||
-rw-r--r-- | net-wireless/wavemon/wavemon-0.6.7.ebuild | 9 |
3 files changed, 32 insertions, 2 deletions
diff --git a/net-wireless/wavemon/ChangeLog b/net-wireless/wavemon/ChangeLog index 0e0604903056..89ba381262d5 100644 --- a/net-wireless/wavemon/ChangeLog +++ b/net-wireless/wavemon/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-wireless/wavemon # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.27 2009/10/16 19:48:14 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/ChangeLog,v 1.28 2009/10/17 18:50:38 hanno Exp $ + + 17 Oct 2009; Hanno Boeck <hanno@gentoo.org> wavemon-0.6.7.ebuild, + +files/wavemon-0.6.7-as-needed.diff: + Fix for --as-needed. *wavemon-0.6.7 (16 Oct 2009) diff --git a/net-wireless/wavemon/files/wavemon-0.6.7-as-needed.diff b/net-wireless/wavemon/files/wavemon-0.6.7-as-needed.diff new file mode 100644 index 000000000000..c317bb05b14e --- /dev/null +++ b/net-wireless/wavemon/files/wavemon-0.6.7-as-needed.diff @@ -0,0 +1,19 @@ +--- wavemon-0.6.7-1/Makefile.in 2009-09-04 21:58:45.000000000 +0200 ++++ wavemon-0.6.7/Makefile.in 2009-10-17 14:00:46.000000000 +0200 +@@ -9,7 +9,7 @@ + CC = @CC@ + CFLAGS = @CFLAGS@ + DEFS = @DEFS@ +-LIBS = @LIBS@ ++LDLIBS = @LIBS@ + + INSTALL = @INSTALL@ + RM = rm -vf +@@ -25,7 +25,6 @@ + + all: @PACKAGE_NAME@ + @PACKAGE_NAME@: $(MAIN) $(OBJS) +- $(CC) $(CFLAGS) $(LIBS) $^ -o $@ + + $(MAIN): Makefile + Makefile: Makefile.in config.status diff --git a/net-wireless/wavemon/wavemon-0.6.7.ebuild b/net-wireless/wavemon/wavemon-0.6.7.ebuild index 8f5555f29484..6adde44bb664 100644 --- a/net-wireless/wavemon/wavemon-0.6.7.ebuild +++ b/net-wireless/wavemon/wavemon-0.6.7.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2009 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.1 2009/10/16 19:48:14 bangert Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-wireless/wavemon/wavemon-0.6.7.ebuild,v 1.2 2009/10/17 18:50:38 hanno Exp $ EAPI="2" +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}/${P}-as-needed.diff" + eautoreconf +} + src_install() { emake DESTDIR="${D}" install \ || die "make install failed" |