diff options
author | Peter Volkov <pva@gentoo.org> | 2010-05-25 08:29:02 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2010-05-25 08:29:02 +0000 |
commit | e35b61296adb8e8ec61fb971cb0db02170108290 (patch) | |
tree | b8b79d4141cdee3cf5745c3cf71cb7317133637d /net-misc/packETH | |
parent | Take package over, filezilla is the only current consumer (diff) | |
download | gentoo-2-e35b61296adb8e8ec61fb971cb0db02170108290.tar.gz gentoo-2-e35b61296adb8e8ec61fb971cb0db02170108290.tar.bz2 gentoo-2-e35b61296adb8e8ec61fb971cb0db02170108290.zip |
Fixed build issue with forced --as-needed, bug #321409, thank Diego E. 'Flameeyes' Pettenò for report.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/packETH')
-rw-r--r-- | net-misc/packETH/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/packETH/files/packETH-1.6.5-forced-as-needed.patch | 13 | ||||
-rw-r--r-- | net-misc/packETH/packETH-1.6.5.ebuild | 13 |
3 files changed, 26 insertions, 7 deletions
diff --git a/net-misc/packETH/ChangeLog b/net-misc/packETH/ChangeLog index 5c14e6b51803..68bcecd3928e 100644 --- a/net-misc/packETH/ChangeLog +++ b/net-misc/packETH/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/packETH # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/ChangeLog,v 1.9 2010/05/20 10:53:06 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/ChangeLog,v 1.10 2010/05/25 08:29:02 pva Exp $ + + 25 May 2010; Peter Volkov <pva@gentoo.org> packETH-1.6.5.ebuild, + +files/packETH-1.6.5-forced-as-needed.patch: + Fixed build issue with forced --as-needed, bug #321409, thank Diego E. + 'Flameeyes' Pettenò for report. *packETH-1.6.5 (20 May 2010) diff --git a/net-misc/packETH/files/packETH-1.6.5-forced-as-needed.patch b/net-misc/packETH/files/packETH-1.6.5-forced-as-needed.patch new file mode 100644 index 000000000000..df0f5c8b0f10 --- /dev/null +++ b/net-misc/packETH/files/packETH-1.6.5-forced-as-needed.patch @@ -0,0 +1,13 @@ +=== modified file 'Makefile.am' +--- Makefile.am 2010-05-25 08:09:22 +0000 ++++ Makefile.am 2010-05-25 08:19:14 +0000 +@@ -29,7 +29,7 @@ + DEFS= \ + -DPKGDATADIR=\"$(pkgdatadir)/\" + +-AM_LDFLAGS=$(DEPS_LIBS) ++packETH_LDADD=$(DEPS_LIBS) + + AM_CPPFLAGS = \ + -g \ + diff --git a/net-misc/packETH/packETH-1.6.5.ebuild b/net-misc/packETH/packETH-1.6.5.ebuild index 7455ecd7f4b8..ddf1f4c589d3 100644 --- a/net-misc/packETH/packETH-1.6.5.ebuild +++ b/net-misc/packETH/packETH-1.6.5.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/packETH-1.6.5.ebuild,v 1.1 2010/05/20 10:53:06 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/packETH/packETH-1.6.5.ebuild,v 1.2 2010/05/25 08:29:02 pva Exp $ EAPI="2" -inherit eutils toolchain-funcs +inherit eutils toolchain-funcs autotools DESCRIPTION="Packet generator tool for ethernet" HOMEPAGE="http://packeth.sourceforge.net/" @@ -18,6 +18,11 @@ IUSE="" DEPEND="x11-libs/gtk+:2" RDEPEND="${DEPEND}" +src_prepare() { + epatch "${FILESDIR}/${P}-forced-as-needed.patch" + eautomake +} + src_compile() { tc-export CC default @@ -25,9 +30,5 @@ src_compile() { src_install() { emake DESTDIR="${D}" install || die -# insinto /usr/bin -# dobin packETH || die -# insinto /usr/share/pixmaps/packETH -# doins src/pixmaps/* || die dodoc AUTHORS README || die } |