summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-26 01:40:19 +0000
committerMike Frysinger <vapier@gentoo.org>2010-08-26 01:40:19 +0000
commit262c7f9d652947838437359c2ca612ed0099fcd5 (patch)
tree39b97da62372e74652abb47ae620f2994dbd9a4f /net-firewall
parentBump to vde-2.3.1 (diff)
downloadgentoo-2-262c7f9d652947838437359c2ca612ed0099fcd5.tar.gz
gentoo-2-262c7f9d652947838437359c2ca612ed0099fcd5.tar.bz2
gentoo-2-262c7f9d652947838437359c2ca612ed0099fcd5.zip
Force libiptc.so linkage in face of --as-needed #334503 by Andreas K. Hüttel.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-firewall')
-rw-r--r--net-firewall/iptables/ChangeLog6
-rw-r--r--net-firewall/iptables/iptables-1.4.9.1-r2.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/net-firewall/iptables/ChangeLog b/net-firewall/iptables/ChangeLog
index 1bfc03338d59..b9dd899f00b8 100644
--- a/net-firewall/iptables/ChangeLog
+++ b/net-firewall/iptables/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-firewall/iptables
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.223 2010/08/19 21:36:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.224 2010/08/26 01:40:19 vapier Exp $
+
+ 26 Aug 2010; Mike Frysinger <vapier@gentoo.org> iptables-1.4.9.1-r2.ebuild:
+ Force libiptc.so linkage in face of --as-needed #334503 by Andreas K.
+ Hüttel.
19 Aug 2010; Mike Frysinger <vapier@gentoo.org> iptables-1.4.9.1-r2.ebuild:
Only force autotools on people using epatch_user, and clean up the lib move
diff --git a/net-firewall/iptables/iptables-1.4.9.1-r2.ebuild b/net-firewall/iptables/iptables-1.4.9.1-r2.ebuild
index 602860205e4d..a3efb3c94907 100644
--- a/net-firewall/iptables/iptables-1.4.9.1-r2.ebuild
+++ b/net-firewall/iptables/iptables-1.4.9.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.9.1-r2.ebuild,v 1.2 2010/08/19 21:36:51 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.4.9.1-r2.ebuild,v 1.3 2010/08/26 01:40:19 vapier Exp $
EAPI="2"
@@ -24,6 +24,11 @@ RDEPEND=""
src_prepare() {
# Only run autotools if user patched something
epatch_user && eautoreconf || elibtoolize
+
+ # Keep libiptc linked against sub-libs #334503
+ # We patch Makefile.in as we need libtool-2.2.10
+ # for proper LDFLAGS ordering wrt LIBS
+ sed -i '/$(libiptc_libiptc_la_LDFLAGS)/s:$: -Wl,--no-as-needed:' Makefile.in
}
src_configure() {